diff options
Diffstat (limited to 'coreutils/sort.c')
-rw-r--r-- | coreutils/sort.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/sort.c b/coreutils/sort.c index e789292b9..c23c14226 100644 --- a/coreutils/sort.c +++ b/coreutils/sort.c | |||
@@ -124,9 +124,9 @@ static struct sort_key *add_key(void) | |||
124 | } | 124 | } |
125 | 125 | ||
126 | #define GET_LINE(fp) (global_flags&FLAG_z) ? bb_get_chunk_from_file(fp,NULL) \ | 126 | #define GET_LINE(fp) (global_flags&FLAG_z) ? bb_get_chunk_from_file(fp,NULL) \ |
127 | : bb_get_chomped_line_from_file(fp) | 127 | : xmalloc_getline(fp) |
128 | #else | 128 | #else |
129 | #define GET_LINE(fp) bb_get_chomped_line_from_file(fp) | 129 | #define GET_LINE(fp) xmalloc_getline(fp) |
130 | #endif | 130 | #endif |
131 | 131 | ||
132 | /* Iterate through keys list and perform comparisons */ | 132 | /* Iterate through keys list and perform comparisons */ |