From b610615be9aedfac07d1e01f12575707fa3a227c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 19 Jun 2000 17:25:40 +0000 Subject: Updates to a number of apps to remove warnings/compile errors under libc5. Tested under both libc5 and libc6 and all seems well with these fixes. -Erik --- console-tools/loadacm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'console-tools/loadacm.c') diff --git a/console-tools/loadacm.c b/console-tools/loadacm.c index cca5406ee..cf393d92d 100644 --- a/console-tools/loadacm.c +++ b/console-tools/loadacm.c @@ -140,10 +140,9 @@ int screen_map_load(int fd, FILE * fp) perror("PIO_SCRNMAP ioctl"), exit(1); else return 0; - } else { - fprintf(stderr, "Error parsing symbolic map\n"); - exit(1); } + fprintf(stderr, "Error parsing symbolic map\n"); + return(1); } -- cgit v1.2.3