aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 7b30345..2228279 100644
--- a/src/main.c
+++ b/src/main.c
@@ -33,7 +33,7 @@ int main(void) {
memset(word, 0, MAX_WORD_LENGTH + 2);
}
if (read_word_result == READ_WORD_ERR_READ) {
- printf("Error reading word\n");
+ fprintf(stderr, "Error reading word\n");
return 1;
}
return 0;