2003-05-22 Roland McGrath <roland@redhat.com>

* process.c (print_affinitylist): Fix loop condition.
	Reported by Ian Wienand <ianw@gelato.unsw.edu.au>.
This commit is contained in:
Roland McGrath 2003-05-23 00:14:04 +00:00
parent 872a43633a
commit a2f3496d74

View File

@ -2643,7 +2643,7 @@ unsigned int len;
{
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);