diff options
author | jedgar <jedgar@FreeBSD.org> | 2002-04-07 04:59:13 +0000 |
---|---|---|
committer | jedgar <jedgar@FreeBSD.org> | 2002-04-07 04:59:13 +0000 |
commit | f7f35bd6ba0fafdffb8f209063c0991c5f39657a (patch) | |
tree | b7542a5ddbf64977173ee6012088bd606a998773 /bin | |
parent | 4abe7f3290df6085a727b2653a0f55dea71c2427 (diff) | |
download | FreeBSD-src-f7f35bd6ba0fafdffb8f209063c0991c5f39657a.zip FreeBSD-src-f7f35bd6ba0fafdffb8f209063c0991c5f39657a.tar.gz |
errx()/strerror() -> err()
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ps/ps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c index 55445e7..dbc9a14 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -308,7 +308,7 @@ main(int argc, char *argv[]) /* XXX - should be cleaner */ if (!all && ttydev == NODEV && pid == -1 && !nuids) { if ((uids = malloc(sizeof (*uids))) == NULL) - errx(1, "malloc: %s", strerror(errno)); + err(1, "malloc"); nuids = 1; *uids = getuid(); } @@ -421,7 +421,7 @@ getuids(const char *arg, int *nuids) moreuids = realloc(uids, alloc * sizeof (*uids)); if (moreuids == NULL) { free(uids); - errx(1, "realloc: %s", strerror(errno)); + err(1, "realloc"); } uids = moreuids; } |