diff options
author | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-09-27 16:28:26 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-09-27 16:28:26 +0200 |
commit | 9e13a384c005d26411b53d4c4f643700957c8345 (patch) | |
tree | 160179b941baaf42965153bcb123af9cf08d41a3 /commands/edit.c | |
parent | 6057d62524e0f15d66698e320d35a25cef89e085 (diff) | |
download | barebox-9e13a384c005d26411b53d4c4f643700957c8345.tar.gz barebox-9e13a384c005d26411b53d4c4f643700957c8345.tar.xz |
use xrealloc instead of realloc
Diffstat (limited to 'commands/edit.c')
-rw-r--r-- | commands/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/edit.c b/commands/edit.c index 6f42abc107..4578c7ad88 100644 --- a/commands/edit.c +++ b/commands/edit.c @@ -176,7 +176,7 @@ static struct line *line_realloc(int len, struct line *line) while (size < len) size <<= 1; - line->data = realloc(line->data, size); + line->data = xrealloc(line->data, size); return line; } |