diff options
author | Garance A Drosehn <gad@FreeBSD.org> | 2004-06-24 03:15:18 +0000 |
---|---|---|
committer | Garance A Drosehn <gad@FreeBSD.org> | 2004-06-24 03:15:18 +0000 |
commit | bd6233fd5d3fbd96fa455e3c431af6f817221490 (patch) | |
tree | bc90a3b358bc31c64eef5e93616ebae50f7495e3 /bin | |
parent | 1aab16a6b6af94f903f69dfbeae417e4e5b278bd (diff) |
Notes
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ps/ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c index bae465f91fdf1..6bbb00f24c61f 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -1013,7 +1013,7 @@ saveuser(KINFO *ki) ki->ki_p->ki_comm, MAXCOMLEN)); else asprintf(&ki->ki_args, "(%s)", ki->ki_p->ki_comm); - if (ki->ki_env == NULL) + if (ki->ki_args == NULL) errx(1, "malloc failed"); } else { ki->ki_args = NULL; |