summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-06-25 18:21:36 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-06-25 18:21:36 +0000
commit008c591b34a4c60de78eea51671e83a433bb1037 (patch)
treea11a3a83f227e25cc098b95850fae0728c90890c
parentb83cebb71427f8d5e0cbcf8011b557cc8366bf14 (diff)
(foo *)0 -> NULL
-rw-r--r--sbin/modload/modload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/modload/modload.c b/sbin/modload/modload.c
index 88a24506a91..70761990431 100644
--- a/sbin/modload/modload.c
+++ b/sbin/modload/modload.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: modload.c,v 1.12 1997/03/27 19:57:55 deraadt Exp $ */
+/* $OpenBSD: modload.c,v 1.13 1997/06/25 18:21:35 kstailey Exp $ */
/* $NetBSD: modload.c,v 1.13 1995/05/28 05:21:58 jtc Exp $ */
/*
@@ -93,7 +93,7 @@ linkcmd(kernel, entry, outfile, address, object)
if(pid == 0) {
execl(_PATH_LD, "ld", "-A", kernel, "-e", entrybuf, "-o",
- outfile, "-T", addrbuf, object, (char *)0);
+ outfile, "-T", addrbuf, object, NULL);
exit(128 + errno);
}