diff options
author | 1996-10-20 15:30:07 +0000 | |
---|---|---|
committer | 1996-10-20 15:30:07 +0000 | |
commit | 0c75c2789d3a924050a887fc8a525b69199735ce (patch) | |
tree | a1e7067fff6065a428b97cd5c72f0a13b83f3375 /sys/kern/exec_script.c | |
parent | Truncate rdpmc result to 40 bits. Make pctr.c build with -Wall. (diff) | |
download | wireguard-openbsd-0c75c2789d3a924050a887fc8a525b69199735ce.tar.xz wireguard-openbsd-0c75c2789d3a924050a887fc8a525b69199735ce.zip |
Make it build with -Wparentheses.
Diffstat (limited to 'sys/kern/exec_script.c')
-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; |