diff options
Diffstat (limited to 'util-linux/hexdump.c')
-rw-r--r-- | util-linux/hexdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/hexdump.c b/util-linux/hexdump.c index 03b222dd0..5cb245feb 100644 --- a/util-linux/hexdump.c +++ b/util-linux/hexdump.c | |||
@@ -21,7 +21,7 @@ static void bb_dump_addfile(char *name) | |||
21 | 21 | ||
22 | fp = xfopen(name, "r"); | 22 | fp = xfopen(name, "r"); |
23 | 23 | ||
24 | while ((buf = bb_get_chomped_line_from_file(fp)) != NULL) { | 24 | while ((buf = xmalloc_getline(fp)) != NULL) { |
25 | p = skip_whitespace(buf); | 25 | p = skip_whitespace(buf); |
26 | 26 | ||
27 | if (*p && (*p != '#')) { | 27 | if (*p && (*p != '#')) { |