diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-14 05:46:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-14 05:46:41 +0000 |
commit | 855b7c4a53cbd205d5005b6a44bf3a57eb68e764 (patch) | |
tree | 2574a3926fe779651814732e6a4573644f0fe028 /usr.sbin | |
parent | ad0f9a8681b3d0b7801ce90f0b65b4d45451447b (diff) |
bad NULL; arnej@math.ntnu.no
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_install/delete/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/delete/main.c b/usr.sbin/pkg_install/delete/main.c index 98434f0852b..d55bb985d42 100644 --- a/usr.sbin/pkg_install/delete/main.c +++ b/usr.sbin/pkg_install/delete/main.c @@ -1,7 +1,7 @@ -/* $OpenBSD: main.c,v 1.3 1997/01/15 23:44:10 millert Exp $ */ +/* $OpenBSD: main.c,v 1.4 1997/06/14 05:46:40 deraadt Exp $ */ #ifndef lint -static char *rcsid = "$OpenBSD: main.c,v 1.3 1997/01/15 23:44:10 millert Exp $"; +static char *rcsid = "$OpenBSD: main.c,v 1.4 1997/06/14 05:46:40 deraadt Exp $"; #endif /* @@ -91,7 +91,7 @@ main(int argc, char **argv) *pkgs = NULL; if (!Fake && getuid() != 0) errx(1, "You must be root to delete packages."); - if ((error = pkg_perform(start)) != NULL) { + if ((error = pkg_perform(start)) != 0) { if (Verbose) fprintf(stderr, "%d package deletion(s) failed.\n", error); return error; |