Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/secmodel/keylock buildfix: define integer before use. i3...
details: https://anonhg.NetBSD.org/src/rev/2dacc392a7fc
branches: trunk
changeset: 748283:2dacc392a7fc
user: cegger <cegger%NetBSD.org@localhost>
date: Mon Oct 19 08:20:21 2009 +0000
description:
buildfix: define integer before use. i386 ALL kernel builds again
diffstat:
sys/secmodel/keylock/secmodel_keylock.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7c6549ff6da8 -r 2dacc392a7fc sys/secmodel/keylock/secmodel_keylock.c
--- a/sys/secmodel/keylock/secmodel_keylock.c Mon Oct 19 05:17:46 2009 +0000
+++ b/sys/secmodel/keylock/secmodel_keylock.c Mon Oct 19 08:20:21 2009 +0000
@@ -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 <marc%msys.ch@localhost>
* Copyright (c) 2006 Elad Efrat <elad%NetBSD.org@localhost>
@@ -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)
Home |
Main Index |
Thread Index |
Old Index