From 54f33953194269911190ef1b4cc95c116607e22e Mon Sep 17 00:00:00 2001 From: Juli Mallett Date: Sun, 23 Jun 2002 18:29:52 +0000 Subject: [PATCH] syserr()'s first argument is not exit status, avoid dereferencing (char *)0 in printf(3). --- games/trek/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games/trek/main.c b/games/trek/main.c index cd06f46377e3..f97005c70a75 100644 --- a/games/trek/main.c +++ b/games/trek/main.c @@ -218,7 +218,7 @@ char **argv; av++; } if (ac > 2) - syserr(0, "arg count"); + syserr("arg count"); /* if (ac > 1) f_log = fopen(av[0], opencode);