diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tic/tic.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/tic/tic.c b/usr.bin/tic/tic.c index a60cc9b53e0..428f77ca01d 100644 --- a/usr.bin/tic/tic.c +++ b/usr.bin/tic/tic.c @@ -110,9 +110,11 @@ usage(void) }; size_t j; - printf("Usage: %s %s\n", _nc_progname, usage_string); - for (j = 0; j < sizeof(tbl) / sizeof(tbl[0]); j++) - puts(tbl[j]); + fprintf(stderr, "Usage: %s %s\n", _nc_progname, usage_string); + for (j = 0; j < sizeof(tbl) / sizeof(tbl[0]); j++) { + fputs(tbl[j], stderr); + putc('\n', stderr); + } exit(EXIT_FAILURE); } |