diff options
| author | Marcelo Araujo <araujo@FreeBSD.org> | 2016-04-19 00:40:43 +0000 |
|---|---|---|
| committer | Marcelo Araujo <araujo@FreeBSD.org> | 2016-04-19 00:40:43 +0000 |
| commit | ec23a7636074b3e5129e6464fc88f16de97bc677 (patch) | |
| tree | b189275ef88fc36fbae583e4787ce94da4028f2e /bin/ps/ps.c | |
| parent | 172c3b0b5f610e0b342aa70922a355e511a67f3a (diff) | |
Notes
Diffstat (limited to 'bin/ps/ps.c')
| -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 e86cfa8b42ff8..eeaa9c8058e5e 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -451,7 +451,7 @@ main(int argc, char *argv[]) xkeep = xkeep_implied; kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf); - if (kd == 0) + if (kd == NULL) xo_errx(1, "%s", errbuf); if (!_fmt) |
