From 570ca15b1634911331ee5435e10a4eca5fd4a5b4 Mon Sep 17 00:00:00 2001 From: cegger Date: Mon, 19 Oct 2009 08:20:21 +0000 Subject: [PATCH] buildfix: define integer before use. i386 ALL kernel builds again --- sys/secmodel/keylock/secmodel_keylock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/secmodel/keylock/secmodel_keylock.c b/sys/secmodel/keylock/secmodel_keylock.c index c8a49f1bb3d7..8c31c58af3a2 100644 --- a/sys/secmodel/keylock/secmodel_keylock.c +++ b/sys/secmodel/keylock/secmodel_keylock.c @@ -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 * Copyright (c) 2006 Elad Efrat @@ -54,7 +54,7 @@ */ #include -__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 #include @@ -409,7 +409,7 @@ secmodel_keylock_device_cb(kauth_cred_t cred, 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)