From ccec1a4ee4ac8b711e25491f45f82a389e4d21ff Mon Sep 17 00:00:00 2001 From: Ivana Varekova Date: Thu, 3 Dec 2009 11:21:41 +0000 Subject: [PATCH] - fix typo in sched_setaffinity(2) patch --- man-pages-3.22-sched_setaffinity.patch | 4 ++-- man-pages.spec | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/man-pages-3.22-sched_setaffinity.patch b/man-pages-3.22-sched_setaffinity.patch index 4cfb49b..2527a94 100644 --- a/man-pages-3.22-sched_setaffinity.patch +++ b/man-pages-3.22-sched_setaffinity.patch @@ -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" diff --git a/man-pages.spec b/man-pages.spec index 534af1b..80bfc13 100644 --- a/man-pages.spec +++ b/man-pages.spec @@ -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 - 3.22-7 +* Thu Dec 3 2009 Ivana Hutarova Varekova - 3.23-4 +- fix typo in sched_setaffinity(2) patch + +* Wed Dec 2 2009 Ivana Hutarova Varekova - 3.23-3 - fix sched_setaffinity(2) page - add an EXAMPLE and new NOTES * Wed Nov 18 2009 Ivana Varekova - 3.23-2