sync with waldi

This commit is contained in:
Glenn L McGrath
2003-04-21 10:26:39 +00:00
parent 35a5b08eee
commit 923dd79af7
5 changed files with 47 additions and 13 deletions

View File

@@ -258,7 +258,7 @@ static void rewrite(FS * fs)
savech = *p3;
*p3 = '\0';
if (!(pr->fmt = realloc(pr->fmt, strlen(pr->fmt)+(p3-p2)+1)))
perror_msg_and_die("hexdump");
bb_perror_msg_and_die("hexdump");
strcat(pr->fmt, p2);
*p3 = savech;
p2 = p3;