aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/printf/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/printf/printf.c b/usr.bin/printf/printf.c
index 90e8c4501002..c4de8e1905f4 100644
--- a/usr.bin/printf/printf.c
+++ b/usr.bin/printf/printf.c
@@ -257,7 +257,7 @@ escape(fmt)
register char *store;
register int value, c;
- for (store = fmt; c = *fmt; ++fmt, ++store) {
+ for (store = fmt; (c = *fmt); ++fmt, ++store) {
if (c != '\\') {
*store = c;
continue;