diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-04-21 10:26:39 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-04-21 10:26:39 +0000 |
commit | 346c290c78912b8f3bf69463a13fcd4aa69d3119 (patch) | |
tree | 598cf491e726ca826866770a0b8d1b2c73077ac5 /libbb | |
parent | f7b218d1be36d8d0d8ccc6c0de7563201c748877 (diff) | |
download | busybox-w32-346c290c78912b8f3bf69463a13fcd4aa69d3119.tar.gz busybox-w32-346c290c78912b8f3bf69463a13fcd4aa69d3119.tar.bz2 busybox-w32-346c290c78912b8f3bf69463a13fcd4aa69d3119.zip |
sync with waldi
git-svn-id: svn://busybox.net/trunk/busybox@6804 69ca8d6d-28ef-0310-b511-8ec308f3f277
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; |