diff options
Diffstat (limited to 'usr.bin/ar/replace.c')
-rw-r--r-- | usr.bin/ar/replace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ar/replace.c b/usr.bin/ar/replace.c index a226235..b9a6cc6 100644 --- a/usr.bin/ar/replace.c +++ b/usr.bin/ar/replace.c @@ -141,7 +141,7 @@ useold: SETCF(afd, archive, curfd, tname, RPAD|WPAD); } /* Append any left-over arguments to the end of the after file. */ -append: while (file = *argv++) { +append: while ( (file = *argv++) ) { if (options & AR_V) (void)printf("a - %s\n", file); if ((sfd = open(file, O_RDONLY)) < 0) { |