diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-09 07:05:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-09 07:05:10 +0000 |
commit | e794dc8249450a31cf35cb2aa88a33779325b689 (patch) | |
tree | 7fe943aa48c43bd24ed6b9267ab44c0191c44d4a /sbin/modload/modload.c | |
parent | 5b1ba3114a10793470c731e714160f24131b690d (diff) |
correct type on last arg to execl(); nordin@cse.ogi.edu
Diffstat (limited to 'sbin/modload/modload.c')
-rw-r--r-- | sbin/modload/modload.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/modload/modload.c b/sbin/modload/modload.c index 711023e26d5..ec982a68d8a 100644 --- a/sbin/modload/modload.c +++ b/sbin/modload/modload.c @@ -1,4 +1,4 @@ -/* $OpenBSD: modload.c,v 1.25 2001/07/07 18:26:15 deraadt Exp $ */ +/* $OpenBSD: modload.c,v 1.26 2001/07/09 07:04:46 deraadt Exp $ */ /* $NetBSD: modload.c,v 1.13 1995/05/28 05:21:58 jtc Exp $ */ /* @@ -103,7 +103,7 @@ linkcmd(kernel, entry, outfile, address, object) if (pid == 0) { execl(_PATH_LD, "ld", LDSYMTABLE, kernel, "-e", entrybuf, "-o", - outfile, LDTEXTSTART, addrbuf, object, NULL); + outfile, LDTEXTSTART, addrbuf, object, (char *)NULL); exit(128 + errno); } @@ -494,7 +494,7 @@ main(argc, argv) cleanup(); - execl(post, post, id, type, offset, 0); + execl(post, post, id, type, offset, (char *)NULL); err(16, "can't exec `%s'", post); } |