summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/popen.c
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1996-09-21 18:01:23 +0000
committerpst <pst@FreeBSD.org>1996-09-21 18:01:23 +0000
commit8ddc5c2acbfa73f018832908bd4d02dd8420a73b (patch)
treec1594dee9df21368508e76549bc4efae8bfa4225 /libexec/ftpd/popen.c
parent25c24d56c4839f53e198209871a77513e42bb102 (diff)
downloadFreeBSD-src-8ddc5c2acbfa73f018832908bd4d02dd8420a73b.zip
FreeBSD-src-8ddc5c2acbfa73f018832908bd4d02dd8420a73b.tar.gz
Fix some compilation warnings.
Diffstat (limited to 'libexec/ftpd/popen.c')
-rw-r--r--libexec/ftpd/popen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/popen.c b/libexec/ftpd/popen.c
index 90a39cb..cdb6065 100644
--- a/libexec/ftpd/popen.c
+++ b/libexec/ftpd/popen.c
@@ -70,7 +70,7 @@ ftpd_popen(program, type)
int argc, gargc, pdes[2], pid;
char **pop, *argv[100], *gargv[1000];
- if (*type != 'r' && *type != 'w' || type[1])
+ if (((*type != 'r') && (*type != 'w')) || type[1])
return (NULL);
if (!pids) {
OpenPOWER on IntegriCloud