aboutsummaryrefslogtreecommitdiff
path: root/coreutils/md5_sha1_sum.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/md5_sha1_sum.c')
-rw-r--r--coreutils/md5_sha1_sum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/md5_sha1_sum.c b/coreutils/md5_sha1_sum.c
index a99e45864..ca23d8ac4 100644
--- a/coreutils/md5_sha1_sum.c
+++ b/coreutils/md5_sha1_sum.c
@@ -126,7 +126,7 @@ int md5_sha1_sum_main(int argc, char **argv)
126 pre_computed_stream = xfopen(file_ptr, "r"); 126 pre_computed_stream = xfopen(file_ptr, "r");
127 } 127 }
128 128
129 while ((line = bb_get_chomped_line_from_file(pre_computed_stream)) != NULL) { 129 while ((line = xmalloc_getline(pre_computed_stream)) != NULL) {
130 char *filename_ptr; 130 char *filename_ptr;
131 131
132 count_total++; 132 count_total++;