diff options
Diffstat (limited to 'libexec/ld.so/ldd')
-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 + |