summaryrefslogtreecommitdiffstats
path: root/hunt
diff options
context:
space:
mode:
authorveego <veego@NetBSD.org>1998-08-30 09:19:36 +0000
committerveego <veego@NetBSD.org>1998-08-30 09:19:36 +0000
commit5a555a984855e94b0fc3c9154da6b65208ba2c70 (patch)
tree285ed9cc28655053e6f1520670b43ae864d0c264 /hunt
parentc4c1ed4f214d1b50a09d0c42fa9c741ac18fb482 (diff)
downloadbsdgames-darwin-5a555a984855e94b0fc3c9154da6b65208ba2c70.tar.gz
bsdgames-darwin-5a555a984855e94b0fc3c9154da6b65208ba2c70.tar.zst
bsdgames-darwin-5a555a984855e94b0fc3c9154da6b65208ba2c70.zip
Add braces to make the new egcs happy.
Diffstat (limited to 'hunt')
-rw-r--r--hunt/hunt/hunt.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/hunt/hunt/hunt.c b/hunt/hunt/hunt.c
index 48fb801f..dd1ab7a1 100644
--- a/hunt/hunt/hunt.c
+++ b/hunt/hunt/hunt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hunt.c,v 1.6 1998/07/06 07:00:15 mrg Exp $ */
+/* $NetBSD: hunt.c,v 1.7 1998/08/30 09:19:37 veego Exp $ */
/*
* Hunt
* Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
@@ -7,7 +7,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hunt.c,v 1.6 1998/07/06 07:00:15 mrg Exp $");
+__RCSID("$NetBSD: hunt.c,v 1.7 1998/08/30 09:19:37 veego Exp $");
#endif /* not lint */
# include <sys/stat.h>
@@ -1039,11 +1039,12 @@ env_init(enter_status)
envp = s + 1;
}
}
- if (*envp != '\0')
+ if (*envp != '\0') {
if (envname == NULL)
strncpy(name, envp, NAMELEN);
else
printf("unknown option %s\n", envp);
+ }
}
return enter_status;
}