diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/dump.c b/libbb/dump.c index 03ab9f315..5a43b7c70 100644 --- a/libbb/dump.c +++ b/libbb/dump.c | |||
@@ -258,7 +258,7 @@ static void rewrite(FS * fs) | |||
258 | savech = *p3; | 258 | savech = *p3; |
259 | *p3 = '\0'; | 259 | *p3 = '\0'; |
260 | if (!(pr->fmt = realloc(pr->fmt, strlen(pr->fmt)+(p3-p2)+1))) | 260 | if (!(pr->fmt = realloc(pr->fmt, strlen(pr->fmt)+(p3-p2)+1))) |
261 | perror_msg_and_die("hexdump"); | 261 | bb_perror_msg_and_die("hexdump"); |
262 | strcat(pr->fmt, p2); | 262 | strcat(pr->fmt, p2); |
263 | *p3 = savech; | 263 | *p3 = savech; |
264 | p2 = p3; | 264 | p2 = p3; |