summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/print_flags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/print_flags.c b/libbb/print_flags.c
index a8c4f9c..afa7550 100644
--- a/libbb/print_flags.c
+++ b/libbb/print_flags.c
@@ -19,8 +19,8 @@ int FAST_FUNC print_flags_separated(const int *masks, const char *labels, int fl
labels);
need_separator = separator;
flags &= ~ *masks;
- masks++;
}
+ masks++;
labels += strlen(labels) + 1;
}
return flags;