diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2015-07-19 14:31:25 +0200 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2015-07-19 14:31:25 +0200 |
commit | d94dcc7b2d449ffd50a153c59d858fb35c156c32 (patch) | |
tree | cfe139882ed902916f3ac66cac309ad8360db663 | |
parent | 9b9a0cff925d421e029b348951dd0ca309e604d6 (diff) | |
download | c-stuff-d94dcc7b2d449ffd50a153c59d858fb35c156c32.tar.gz c-stuff-d94dcc7b2d449ffd50a153c59d858fb35c156c32.tar.xz c-stuff-d94dcc7b2d449ffd50a153c59d858fb35c156c32.zip |
timer.c: argc check now prints errors to stderr
-rw-r--r-- | timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -169,7 +169,7 @@ int main(int argc, char **argv) error(1, 0, "Error: stdout is not a tty"); if (argc < 2) { - printf("Not enough arguments.\n"); + fprintf(stderr, "Not enough arguments.\n"); usage(argv[0]); exit(1); } |