commit | a2f3496d745f19405343650dfe7aadf661108011 | [log] [tgz] |
---|---|---|
author | Roland McGrath <roland@redhat.com> | Fri May 23 00:14:04 2003 +0000 |
committer | Roland McGrath <roland@redhat.com> | Fri May 23 00:14:04 2003 +0000 |
tree | 939e39b4c8f9e3d25e60969b7f551dd0cd61c586 | |
parent | 872a43633ac8a44ba72e55303c6bdc1170545ba8 [diff] [blame] |
2003-05-22 Roland McGrath <roland@redhat.com> * process.c (print_affinitylist): Fix loop condition. Reported by Ian Wienand <ianw@gelato.unsw.edu.au>.
diff --git a/process.c b/process.c index aeb3377..145122e 100644 --- a/process.c +++ b/process.c
@@ -2643,7 +2643,7 @@ { int first = 1; tprintf(" {"); - while (len > sizeof (unsigned long)) { + while (len >= sizeof (unsigned long)) { tprintf("%s %lx", first ? "" : ",", *list++); first = 0; len -= sizeof (unsigned long);