summaryrefslogtreecommitdiffstats
path: root/usr.bin/ar/append.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ar/append.c')
-rw-r--r--usr.bin/ar/append.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ar/append.c b/usr.bin/ar/append.c
index 9bbe473..ea2e04c 100644
--- a/usr.bin/ar/append.c
+++ b/usr.bin/ar/append.c
@@ -71,7 +71,7 @@ append(argv)
/* Read from disk, write to an archive; pad on write. */
SETCF(0, 0, afd, archive, WPAD);
- for (eval = 0; file = *argv++;) {
+ for (eval = 0; (file = *argv++); ) {
if ((fd = open(file, O_RDONLY)) < 0) {
warn("%s", file);
eval = 1;
OpenPOWER on IntegriCloud