summaryrefslogtreecommitdiff
path: root/usr.bin/encrypt
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-06-17 21:01:02 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-06-17 21:01:02 +0000
commita54a9389619045396e08ae5bc9677f6d1f787558 (patch)
treeabf635af53e73427fa0b4e28ce47f3b573ac3c6c /usr.bin/encrypt
parenta5b6ad714541a9c9f0a38e3e97038715a8ff6ec0 (diff)
(foo *)NULL -> NULL
Diffstat (limited to 'usr.bin/encrypt')
-rw-r--r--usr.bin/encrypt/encrypt.c4
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]));