diff --git a/source/sys_linux.c b/source/sys_linux.c index 1b316ee..c3ff0dd 100644 --- a/source/sys_linux.c +++ b/source/sys_linux.c @@ -420,7 +420,7 @@ int main (int c, char **v) if (j) parms.memsize = (int) (Q_atof(com_argv[j+1]) * 1024 * 1024); parms.membase = malloc (parms.memsize); - if (!perms.membase) { + if (!parms.membase) { printf("Can't allocate memroy for zone.\n"); return 1; }