From 50d44611f259867c4966506f5494fda22f1dbb77 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Sun, 26 May 2002 09:29:02 +0000 Subject: pid_t cleanup --- src/lib/libc/stdlib/system.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/libc/stdlib/system.c') diff --git a/src/lib/libc/stdlib/system.c b/src/lib/libc/stdlib/system.c index dadf3fe841..636a9ebdff 100644 --- a/src/lib/libc/stdlib/system.c +++ b/src/lib/libc/stdlib/system.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: system.c,v 1.4 2001/09/04 23:35:58 millert Exp $"; +static char *rcsid = "$OpenBSD: system.c,v 1.5 2002/05/26 09:29:02 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -62,7 +62,7 @@ system(command) sigemptyset(&mask); sigaddset(&mask, SIGCHLD); sigprocmask(SIG_BLOCK, &mask, &omask); - switch(pid = vfork()) { + switch (pid = vfork()) { case -1: /* error */ sigprocmask(SIG_SETMASK, &omask, NULL); return(-1); @@ -78,5 +78,5 @@ system(command) sigprocmask(SIG_SETMASK, &omask, NULL); (void)signal(SIGINT, intsave); (void)signal(SIGQUIT, quitsave); - return(pid == -1 ? -1 : pstat); + return (pid == -1 ? -1 : pstat); } -- cgit v1.2.3-55-g6feb