From 9092f754bd4afc5f0928ee3041abb950f749b9e1 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 26 Jun 2008 22:40:02 +0000 Subject: print_flags: fix trivial thinko vi: fix reversed checks for underflow --- libbb/print_flags.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb') diff --git a/libbb/print_flags.c b/libbb/print_flags.c index 413f51653..a1dcc01ec 100644 --- a/libbb/print_flags.c +++ b/libbb/print_flags.c @@ -19,8 +19,8 @@ int print_flags_separated(const int *masks, const char *labels, int flags, const labels); need_separator = separator; flags &= ~ *masks; - masks++; } + masks++; labels += strlen(labels) + 1; } return flags; -- cgit v1.2.3