summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>1998-11-18 15:13:51 +0000
committeroster <oster@NetBSD.org>1998-11-18 15:13:51 +0000
commitb66ca92f4a8b113b96466d093dc2ca12a02b5c7d (patch)
tree47f66cead0f42d6fa55fdf0a44378c1857c88f34 /sys/dev
parentd5f8b67ebe6f2c43adc92441c7705b30f2409562 (diff)
Initialize (to NULL) a variable in rf_CvscanPromote().
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/raidframe/rf_cvscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_cvscan.c b/sys/dev/raidframe/rf_cvscan.c
index 878ac352842..efe30f0b4b1 100644
--- a/sys/dev/raidframe/rf_cvscan.c
+++ b/sys/dev/raidframe/rf_cvscan.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_cvscan.c,v 1.1 1998/11/13 04:20:27 oster Exp $ */
+/* $NetBSD: rf_cvscan.c,v 1.2 1998/11/18 15:13:51 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -413,7 +413,7 @@ static void PrintCvscanQueue(RF_CvscanHeader_t *hdr)
int rf_CvscanPromote(void *q_in, RF_StripeNum_t parityStripeID, RF_ReconUnitNum_t which_ru)
{
RF_CvscanHeader_t *hdr = (RF_CvscanHeader_t *) q_in;
- RF_DiskQueueData_t *trailer, *tmp = hdr->burner, *tlist = NULL;
+ RF_DiskQueueData_t *trailer = NULL, *tmp = hdr->burner, *tlist = NULL;
int retval=0;
DO_CHECK_STATE(hdr);