summaryrefslogtreecommitdiff
path: root/lib/libc/gen/setproctitle.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/setproctitle.c')
-rw-r--r--lib/libc/gen/setproctitle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/setproctitle.c b/lib/libc/gen/setproctitle.c
index 7e5a7319d0e..731c621461c 100644
--- a/lib/libc/gen/setproctitle.c
+++ b/lib/libc/gen/setproctitle.c
@@ -30,7 +30,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: setproctitle.c,v 1.4 1996/10/23 17:15:44 millert Exp $";
+static char rcsid[] = "$OpenBSD: setproctitle.c,v 1.5 1997/07/25 20:30:03 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -54,7 +54,7 @@ static char rcsid[] = "$OpenBSD: setproctitle.c,v 1.4 1996/10/23 17:15:44 miller
extern char *__progname; /* Program name, from crt0. */
void
-#if __STDC__
+#ifdef __STDC__
setproctitle(const char *fmt, ...)
#else
setproctitle(fmt, va_alist)
@@ -68,7 +68,7 @@ setproctitle(fmt, va_alist)
static char buf[MAX_PROCTITLE], *bufp = buf;
int used;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, fmt);
#else
va_start(ap);