summaryrefslogtreecommitdiff
path: root/libbb/print_numbered_lines.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/print_numbered_lines.c')
-rw-r--r--libbb/print_numbered_lines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/print_numbered_lines.c b/libbb/print_numbered_lines.c
index 4758068a4..b64f85597 100644
--- a/libbb/print_numbered_lines.c
+++ b/libbb/print_numbered_lines.c
@@ -25,7 +25,7 @@ int FAST_FUNC print_numbered_lines(struct number_state *ns, const char *filename
printf("%*u%s", ns->width, N, ns->sep);
N += ns->inc;
} else if (ns->empty_str)
- fputs(ns->empty_str, stdout);
+ fputs_stdout(ns->empty_str);
puts(line);
free(line);
}