diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-06-17 21:01:02 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-06-17 21:01:02 +0000 |
commit | a54a9389619045396e08ae5bc9677f6d1f787558 (patch) | |
tree | abf635af53e73427fa0b4e28ce47f3b573ac3c6c /usr.bin/encrypt | |
parent | a5b6ad714541a9c9f0a38e3e97038715a8ff6ec0 (diff) |
(foo *)NULL -> NULL
Diffstat (limited to 'usr.bin/encrypt')
-rw-r--r-- | usr.bin/encrypt/encrypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/encrypt/encrypt.c b/usr.bin/encrypt/encrypt.c index dc056ef6cfe..849280f3837 100644 --- a/usr.bin/encrypt/encrypt.c +++ b/usr.bin/encrypt/encrypt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: encrypt.c,v 1.5 1997/03/30 19:22:46 provos Exp $ */ +/* $OpenBSD: encrypt.c,v 1.6 1997/06/17 21:01:01 kstailey Exp $ */ /* * Copyright (c) 1996, Jason Downs. All rights reserved. @@ -190,7 +190,7 @@ int main(argc, argv) /* Perhaps it isn't worth worrying about, but... */ string = strdup(argv[optind]); - if (string == (char *)NULL) + if (string == NULL) err(1, NULL); /* Wipe the argument. */ bzero(argv[optind], strlen(argv[optind])); |