From: Marius Gavrilescu Date: Sat, 12 Dec 2015 19:32:47 +0000 (+0200) Subject: Use STDERR for errors consistently in scramble.c X-Git-Tag: 2.55~3 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=f51e83a2753ca53fc8d403468d33f622a2e032a4;p=filters.git Use STDERR for errors consistently in scramble.c --- 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; }