aboutsummaryrefslogtreecommitdiff
path: root/coreutils/cut.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/cut.c')
-rw-r--r--coreutils/cut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cut.c b/coreutils/cut.c
index 1acbb513e..16418ff33 100644
--- a/coreutils/cut.c
+++ b/coreutils/cut.c
@@ -167,7 +167,7 @@ static void cut_file(FILE *file, char delim, const struct cut_list *cut_lists, u
167 * printed */ 167 * printed */
168 if (nfields_printed > 0) 168 if (nfields_printed > 0)
169 putchar(delim); 169 putchar(delim);
170 fputs(field, stdout); 170 fputs_stdout(field);
171 printed[ndelim] = 'X'; 171 printed[ndelim] = 'X';
172 nfields_printed++; /* shouldn't overflow.. */ 172 nfields_printed++; /* shouldn't overflow.. */
173 } 173 }