diff options
author | dm <dm@cvs.openbsd.org> | 1996-10-20 15:30:08 +0000 |
---|---|---|
committer | dm <dm@cvs.openbsd.org> | 1996-10-20 15:30:08 +0000 |
commit | 86d4819cbc8105e80708b83bbcdf8646bfc863b7 (patch) | |
tree | c5cbd871b1b13fe26cc2c5b9fb6616b321cd06d8 /sys | |
parent | 6a1acd962693afad8e5debc2cbefa6788d968ff9 (diff) |
Make it build with -Wparentheses.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/exec_script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/exec_script.c b/sys/kern/exec_script.c index 1d3bc64c8ab..551c52c7602 100644 --- a/sys/kern/exec_script.c +++ b/sys/kern/exec_script.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_script.c,v 1.3 1996/06/12 07:35:06 deraadt Exp $ */ +/* $OpenBSD: exec_script.c,v 1.4 1996/10/20 15:30:07 dm Exp $ */ /* $NetBSD: exec_script.c,v 1.13 1996/02/04 02:15:06 christos Exp $ */ /* @@ -173,7 +173,7 @@ check_shell: panic("exec_script_makecmds: epp already has a fd"); #endif - if (error = falloc(p, &fp, &epp->ep_fd)) + if ((error = falloc(p, &fp, &epp->ep_fd))) goto fail; epp->ep_flags |= EXEC_HASFD; |