aboutsummaryrefslogtreecommitdiff
path: root/util-linux/hexdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/hexdump.c')
-rw-r--r--util-linux/hexdump.c2
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)
fp = xfopen(name, "r");
- while ((buf = bb_get_chomped_line_from_file(fp)) != NULL) {
+ while ((buf = xmalloc_getline(fp)) != NULL) {
p = skip_whitespace(buf);
if (*p && (*p != '#')) {