From f51e83a2753ca53fc8d403468d33f622a2e032a4 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 12 Dec 2015 21:32:47 +0200 Subject: [PATCH] Use STDERR for errors consistently in scramble.c --- scramble.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scramble.c b/scramble.c index a82e593..c1e989a 100644 --- a/scramble.c +++ b/scramble.c @@ -171,7 +171,7 @@ int main(int argc, char **argv) { c = fgetc(infile); if(feof(infile)) { - printf("Reached EOF while reading the first character of the input file!\n"); + fprintf(stderr, "Reached EOF while reading the first character of the input file!\n"); free(word); return 4; } -- 2.30.2