diff options
-rw-r--r-- | gramscii.c | 2 | ||||
-rw-r--r-- | screen.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -147,7 +147,7 @@ void commands(FILE *fc){ void usage(){ fprintf(stderr, "Usage: %s [-s] [-h] [file ...]\n", argv0); - cleanup(1); + exit(1); } @@ -421,7 +421,7 @@ void init_screen(){ screen.sz = HEIGHT; screen.num = HEIGHT; if (screen.l == NULL){ - perror("allocating screen"); + fprintf(stderr, "Error allocating screen"); cleanup(1); } for (i=0; i<HEIGHT; i++){ |