summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libc/stdlib/system.c6
1 files changed, 3 insertions, 3 deletions
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 @@
32 */ 32 */
33 33
34#if defined(LIBC_SCCS) && !defined(lint) 34#if defined(LIBC_SCCS) && !defined(lint)
35static char *rcsid = "$OpenBSD: system.c,v 1.4 2001/09/04 23:35:58 millert Exp $"; 35static char *rcsid = "$OpenBSD: system.c,v 1.5 2002/05/26 09:29:02 deraadt Exp $";
36#endif /* LIBC_SCCS and not lint */ 36#endif /* LIBC_SCCS and not lint */
37 37
38#include <sys/types.h> 38#include <sys/types.h>
@@ -62,7 +62,7 @@ system(command)
62 sigemptyset(&mask); 62 sigemptyset(&mask);
63 sigaddset(&mask, SIGCHLD); 63 sigaddset(&mask, SIGCHLD);
64 sigprocmask(SIG_BLOCK, &mask, &omask); 64 sigprocmask(SIG_BLOCK, &mask, &omask);
65 switch(pid = vfork()) { 65 switch (pid = vfork()) {
66 case -1: /* error */ 66 case -1: /* error */
67 sigprocmask(SIG_SETMASK, &omask, NULL); 67 sigprocmask(SIG_SETMASK, &omask, NULL);
68 return(-1); 68 return(-1);
@@ -78,5 +78,5 @@ system(command)
78 sigprocmask(SIG_SETMASK, &omask, NULL); 78 sigprocmask(SIG_SETMASK, &omask, NULL);
79 (void)signal(SIGINT, intsave); 79 (void)signal(SIGINT, intsave);
80 (void)signal(SIGQUIT, quitsave); 80 (void)signal(SIGQUIT, quitsave);
81 return(pid == -1 ? -1 : pstat); 81 return (pid == -1 ? -1 : pstat);
82} 82}