diff options
author | KatolaZ <katolaz@freaknet.org> | 2019-08-11 08:46:24 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2019-08-11 08:46:24 +0100 |
commit | a46183e96042cf751199f0a06d437a599f7f5bf8 (patch) | |
tree | 06a8689f54a56f248c9511ef701614d2d871eec0 /screen.c | |
parent | e4c527b0f07b91fb3cd9ba58ba057dfea9da9356 (diff) |
replace cleanup() with exit() in usage()
Diffstat (limited to 'screen.c')
-rw-r--r-- | screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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++){ |