diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-04-21 10:26:39 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-04-21 10:26:39 +0000 |
commit | 923dd79af708182743a790e47146253e6d272702 (patch) | |
tree | 598cf491e726ca826866770a0b8d1b2c73077ac5 /libbb | |
parent | 35a5b08eee997593e4e852a6b48fc4b2bb4904e6 (diff) | |
download | busybox-w32-923dd79af708182743a790e47146253e6d272702.tar.gz busybox-w32-923dd79af708182743a790e47146253e6d272702.tar.bz2 busybox-w32-923dd79af708182743a790e47146253e6d272702.zip |
sync with waldi
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; |