diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-18 23:21:19 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-18 23:21:19 +0000 |
commit | d1c85d0aaeeb38958706bbd3927298b4eba8e461 (patch) | |
tree | 996c221a8c0f12a072acc6e21ebf887c64309e15 /lib | |
parent | 2c25853c4a19f51b540cce4e8bca9eb5778af60d (diff) |
Wall
Diffstat (limited to 'lib')
-rw-r--r-- | lib/csu/i386/crt0.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/csu/i386/crt0.c b/lib/csu/i386/crt0.c index e1f185b841d..210c71d372a 100644 --- a/lib/csu/i386/crt0.c +++ b/lib/csu/i386/crt0.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crt0.c,v 1.3 1997/06/24 17:15:49 tholo Exp $ */ +/* $OpenBSD: crt0.c,v 1.4 2001/07/18 23:21:18 deraadt Exp $ */ /* $NetBSD: crt0.c,v 1.20 1995/06/03 13:16:08 pk Exp $ */ /* @@ -34,7 +34,7 @@ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: crt0.c,v 1.3 1997/06/24 17:15:49 tholo Exp $"; +static char rcsid[] = "$OpenBSD: crt0.c,v 1.4 2001/07/18 23:21:18 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -69,11 +69,12 @@ start() argv = &kfp->kargv[0]; environ = argv + kfp->kargc + 1; - if ((ap = argv[0])) + if ((ap = argv[0])) { if ((__progname = _strrchr(ap, '/')) == NULL) __progname = ap; else ++__progname; + } #ifdef DYNAMIC /* ld(1) convention: if DYNAMIC = 0 then statically linked */ |