cpu_exec_aout_makecmds(): consume the arguments even if COMPAT_NOMID is

not defined.
This commit is contained in:
thorpej 2006-10-12 04:31:54 +00:00
parent 8fa57c4c57
commit f9e194e136
1 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.580 2006/10/12 01:30:42 christos Exp $ */
/* $NetBSD: machdep.c,v 1.581 2006/10/12 04:31:54 thorpej Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2000, 2004, 2006 The NetBSD Foundation, Inc.
@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.580 2006/10/12 01:30:42 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.581 2006/10/12 04:31:54 thorpej Exp $");
#include "opt_beep.h"
#include "opt_compat_ibcs2.h"
@ -2129,6 +2129,9 @@ cpu_exec_aout_makecmds(struct lwp *l, struct exec_package *epp)
#ifdef COMPAT_NOMID
if ((error = exec_nomid(l, epp)) == 0)
return error;
#else
(void) l;
(void) epp;
#endif /* ! COMPAT_NOMID */
return error;