diff options
| author | Roy Marples <roy@marples.name> | 2008-05-19 13:40:39 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-05-19 13:40:39 +0000 |
| commit | 8c6735148fad82183dc4b454186930f266e2aaaf (patch) | |
| tree | 4580c323a6b952a97dbb3f225d699ac06be1d22d /common.c | |
| parent | 7b15d336d981587e32a738d5d6186516b528ff12 (diff) | |
| download | dhcpcd-8c6735148fad82183dc4b454186930f266e2aaaf.tar.xz | |
realloc -> xrealloc
Diffstat (limited to 'common.c')
| -rw-r--r-- | common.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ get_line(char **line, size_t *len, FILE *fp) while(!feof(fp)) { if (*line == NULL || last != 0) { *len += BUFSIZ; - *line = realloc(*line, *len); + *line = xrealloc(*line, *len); } p = *line + last; memset(p, 0, BUFSIZ); |
