- 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,7 +49,7 @@ diff -up man-pages-3.22/man2/sched_setaffinity.2.orig man-pages-3.22/man2/sched_
+ +
+ for ( i = 0; i < nrcpus; i++ ) { + for ( i = 0; i < nrcpus; i++ ) {
+ if ( CPU_ISSET_S(i, size, mask) ) { + if ( CPU_ISSET_S(i, size, mask) ) {
+ printf("CPU %d is set\n", (i+1)); + printf("CPU %d is set\\n", (i+1));
+ } + }
+ } + }
+ +

View File

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