summaryrefslogtreecommitdiff
path: root/screen.c
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2019-08-11 08:46:24 +0100
committerKatolaZ <katolaz@freaknet.org>2019-08-11 08:46:24 +0100
commita46183e96042cf751199f0a06d437a599f7f5bf8 (patch)
tree06a8689f54a56f248c9511ef701614d2d871eec0 /screen.c
parente4c527b0f07b91fb3cd9ba58ba057dfea9da9356 (diff)
replace cleanup() with exit() in usage()
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screen.c b/screen.c
index 5ea21aa..d60abb2 100644
--- a/screen.c
+++ b/screen.c
@@ -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++){