From a02e49b067fd8c4cb006810cee55ae44509cf241 Mon Sep 17 00:00:00 2001 From: scw Date: Sun, 9 Nov 2003 11:09:11 +0000 Subject: [PATCH] Fix a genuine uninitialised variable. --- sys/opencrypto/crypto.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/opencrypto/crypto.c b/sys/opencrypto/crypto.c index 6c9b7b30df53..97c9809966e7 100644 --- a/sys/opencrypto/crypto.c +++ b/sys/opencrypto/crypto.c @@ -1,4 +1,4 @@ -/* $NetBSD: crypto.c,v 1.4 2003/09/21 20:56:01 lha Exp $ */ +/* $NetBSD: crypto.c,v 1.5 2003/11/09 11:09:11 scw Exp $ */ /* $FreeBSD: src/sys/opencrypto/crypto.c,v 1.4.2.5 2003/02/26 00:14:05 sam Exp $ */ /* $OpenBSD: crypto.c,v 1.41 2002/07/17 23:52:38 art Exp $ */ @@ -24,7 +24,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: crypto.c,v 1.4 2003/09/21 20:56:01 lha Exp $"); +__KERNEL_RCSID(0, "$NetBSD: crypto.c,v 1.5 2003/11/09 11:09:11 scw Exp $"); /* XXX FIXME: should be defopt'ed */ #define CRYPTO_TIMING /* enable cryptop timing stuff */ @@ -205,6 +205,7 @@ crypto_init(void) #else /* defer thread creation until after boot */ kthread_create( deferred_crypto_thread, NULL); + error = 0; #endif return error; }