From a46183e96042cf751199f0a06d437a599f7f5bf8 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Sun, 11 Aug 2019 08:46:24 +0100 Subject: replace cleanup() with exit() in usage() --- screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'screen.c') 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