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 /libexec/ld.so | |
parent | 5b1ba3114a10793470c731e714160f24131b690d (diff) |
correct type on last arg to execl(); nordin@cse.ogi.edu
Diffstat (limited to 'libexec/ld.so')
-rw-r--r-- | libexec/ld.so/ldd/ldd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ld.so/ldd/ldd.c b/libexec/ld.so/ldd/ldd.c index 07e552e59e4..f46dc0b0366 100644 --- a/libexec/ld.so/ldd/ldd.c +++ b/libexec/ld.so/ldd/ldd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldd.c,v 1.6 2001/06/13 19:43:21 deraadt Exp $ */ +/* $OpenBSD: ldd.c,v 1.7 2001/07/09 07:04:42 deraadt Exp $ */ /* * Copyright (c) 2001 Artur Grabowski <art@openbsd.org> * All rights reserved. @@ -143,7 +143,7 @@ doit(char *name) case -1: err(1, "fork"); case 0: - execl(name, name, NULL); + execl(name, name, (char *)NULL); perror(name); _exit(1); default: @@ -166,4 +166,4 @@ doit(char *name) return 0; } -
\ No newline at end of file + |