summaryrefslogtreecommitdiff
path: root/usr.bin/error
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-06-17 20:56:41 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-06-17 20:56:41 +0000
commitc5bb459cdf0044d2bf947c46e30d3ccdea81aa7d (patch)
treebf854002a001802c80dc4620a93d84465524d7a5 /usr.bin/error
parent4932ce893f57f7e30912b2cd803310b4dfaa6346 (diff)
(foo *)NULL -> NULL
Diffstat (limited to 'usr.bin/error')
-rw-r--r--usr.bin/error/subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/error/subr.c b/usr.bin/error/subr.c
index 0b58faa3fd4..8969c1467b3 100644
--- a/usr.bin/error/subr.c
+++ b/usr.bin/error/subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr.c,v 1.2 1996/06/26 05:32:45 deraadt Exp $ */
+/* $OpenBSD: subr.c,v 1.3 1997/06/17 20:56:40 kstailey Exp $ */
/* $NetBSD: subr.c,v 1.4 1995/09/10 15:55:15 christos Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)subr.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: subr.c,v 1.2 1996/06/26 05:32:45 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: subr.c,v 1.3 1997/06/17 20:56:40 kstailey Exp $";
#endif /* not lint */
#include <stdio.h>
@@ -91,7 +91,7 @@ char *Calloc(nelements, size)
int size;
{
char *back;
- if ( (back = (char *)calloc(nelements, size)) == (char *)NULL){
+ if ( (back = (char *)calloc(nelements, size)) == NULL) {
error("Ran out of memory.\n");
exit(1);
}