- fix typo in sched_setaffinity(2) patch

This commit is contained in:
Ivana Varekova 2009-12-03 11:21:41 +00:00
parent afa5b3666b
commit ccec1a4ee4
2 changed files with 7 additions and 4 deletions

View File

@ -49,14 +49,14 @@ diff -up man-pages-3.22/man2/sched_setaffinity.2.orig man-pages-3.22/man2/sched_
+
+ for ( i = 0; i < nrcpus; i++ ) {
+ if ( CPU_ISSET_S(i, size, mask) ) {
+ printf("CPU %d is set\n", (i+1));
+ printf("CPU %d is set\\n", (i+1));
+ }
+ }
+
+ CPU_FREE(mask);
+
+ return 0;
+ }
+ }
+.fi
+
.SH "SEE ALSO"

View File

@ -4,7 +4,7 @@
Summary: Man (manual) pages from the Linux Documentation Project
Name: man-pages
Version: 3.23
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2+ and GPL+ and BSD and MIT and Copyright only and IEEE
Group: Documentation
URL: http://www.kernel.org/pub/linux/docs/manpages/
@ -136,7 +136,10 @@ rm -rf $RPM_BUILD_ROOT
%lang(en) %{_mandir}/en/man*
%changelog
* Wed Dec 2 2009 Ivana Hutarova Varekova <varekova@redhat.com> - 3.22-7
* Thu Dec 3 2009 Ivana Hutarova Varekova <varekova@redhat.com> - 3.23-4
- fix typo in sched_setaffinity(2) patch
* Wed Dec 2 2009 Ivana Hutarova Varekova <varekova@redhat.com> - 3.23-3
- fix sched_setaffinity(2) page - add an EXAMPLE and new NOTES
* Wed Nov 18 2009 Ivana Varekova <varekova@redhat.com> - 3.23-2