ps: whoops wrong copy-pasterino
This commit is contained in:
parent
e45e64491e
commit
a27035c281
2
ps.c
2
ps.c
@ -140,7 +140,7 @@ psout(struct procstat *ps)
|
|||||||
if (errno)
|
if (errno)
|
||||||
eprintf("getpwuid %d:", pstatus.uid);
|
eprintf("getpwuid %d:", pstatus.uid);
|
||||||
else
|
else
|
||||||
eprintf("getpwuid %d: no such user\n", id);
|
eprintf("getpwuid %d: no such user\n", pstatus.uid);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sysinfo(&info) < 0)
|
if (sysinfo(&info) < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user