From 5f195f5b4e8af36ba04a2c6f35dbd2cbc7205fa6 Mon Sep 17 00:00:00 2001 From: he Date: Mon, 12 Nov 2007 15:50:21 +0000 Subject: Ensure that the 'pc' local variable is initialized, so that this builds again. --- sys/dev/dmover/dmover_request.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/dmover/dmover_request.c b/sys/dev/dmover/dmover_request.c index 37c863436fe..e245a4db99a 100644 --- a/sys/dev/dmover/dmover_request.c +++ b/sys/dev/dmover/dmover_request.c @@ -1,4 +1,4 @@ -/* $NetBSD: dmover_request.c,v 1.5 2007/11/08 07:53:11 dogcow Exp $ */ +/* $NetBSD: dmover_request.c,v 1.6 2007/11/12 15:50:21 he Exp $ */ /* * Copyright (c) 2002 Wasabi Systems, Inc. @@ -40,7 +40,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: dmover_request.c,v 1.5 2007/11/08 07:53:11 dogcow Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dmover_request.c,v 1.6 2007/11/12 15:50:21 he Exp $"); #include #include @@ -64,6 +64,8 @@ dmover_request_initialize(void) if (initialized == 0) { pc = pool_cache_init(sizeof(struct dmover_request), 0, 0, 0, "dmreq", NULL, IPL_BIO, NULL, NULL, NULL); + } else { + pc = NULL; } s = splbio(); -- cgit