libbb: fix print_flags() [fix somehow is only in 1.11.1?)

This commit is contained in:
Denis Vlasenko 2008-07-20 13:47:51 +00:00
parent 4a717e0c19
commit b9bbc40f64

View File

@ -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;