diff options
Diffstat (limited to 'libbb/dump.c')
-rw-r--r-- | libbb/dump.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libbb/dump.c b/libbb/dump.c index b406a2428..2ca9919da 100644 --- a/libbb/dump.c +++ b/libbb/dump.c | |||
@@ -198,9 +198,11 @@ static NOINLINE void rewrite(priv_dumper_t *dumper, FS *fs) | |||
198 | if (!e) | 198 | if (!e) |
199 | goto DO_BAD_CONV_CHAR; | 199 | goto DO_BAD_CONV_CHAR; |
200 | pr->flags = F_INT; | 200 | pr->flags = F_INT; |
201 | if (e > int_convs + 1) /* not d or i? */ | ||
202 | pr->flags = F_UINT; | ||
203 | byte_count_str = "\010\004\002\001"; | 201 | byte_count_str = "\010\004\002\001"; |
202 | if (e > int_convs + 1) { /* not d or i? */ | ||
203 | pr->flags = F_UINT; | ||
204 | byte_count_str++; | ||
205 | } | ||
204 | goto DO_BYTE_COUNT; | 206 | goto DO_BYTE_COUNT; |
205 | } else | 207 | } else |
206 | if (strchr(int_convs, *p1)) { /* %d etc */ | 208 | if (strchr(int_convs, *p1)) { /* %d etc */ |