Module Name: src Committed By: cegger Date: Mon Oct 19 08:20:22 UTC 2009
Modified Files: src/sys/secmodel/keylock: secmodel_keylock.c Log Message: buildfix: define integer before use. i386 ALL kernel builds again To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/secmodel/keylock/secmodel_keylock.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/secmodel/keylock/secmodel_keylock.c diff -u src/sys/secmodel/keylock/secmodel_keylock.c:1.4 src/sys/secmodel/keylock/secmodel_keylock.c:1.5 --- src/sys/secmodel/keylock/secmodel_keylock.c:1.4 Tue Oct 6 04:28:10 2009 +++ src/sys/secmodel/keylock/secmodel_keylock.c Mon Oct 19 08:20:21 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: secmodel_keylock.c,v 1.4 2009/10/06 04:28:10 elad Exp $ */ +/* $NetBSD: secmodel_keylock.c,v 1.5 2009/10/19 08:20:21 cegger Exp $ */ /*- * Copyright (c) 2009 Marc Balmer <m...@msys.ch> * Copyright (c) 2006 Elad Efrat <e...@netbsd.org> @@ -54,7 +54,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: secmodel_keylock.c,v 1.4 2009/10/06 04:28:10 elad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: secmodel_keylock.c,v 1.5 2009/10/19 08:20:21 cegger Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -409,7 +409,7 @@ kauth_action_t action, void *cookie, void *arg0, void *arg1, void *arg2, void *arg3) { - int result, kstate; + int result, kstate, error; kstate = keylock_state(); if (kstate == KEYLOCK_ABSENT)