From 8e5691c47fad5f97b51544c9ef7162270c110f38 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 8 May 2007 02:16:30 +0000 Subject: uninitialized variable passed to setroot() --- sys/arch/macppc/macppc/autoconf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') diff --git a/sys/arch/macppc/macppc/autoconf.c b/sys/arch/macppc/macppc/autoconf.c index 8d08350b7ad..d7825bc6693 100644 --- a/sys/arch/macppc/macppc/autoconf.c +++ b/sys/arch/macppc/macppc/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.27 2007/05/04 19:30:55 deraadt Exp $ */ +/* $OpenBSD: autoconf.c,v 1.28 2007/05/08 02:16:29 deraadt Exp $ */ /* * Copyright (c) 1996, 1997 Per Fogelstrom * Copyright (c) 1995 Theo de Raadt @@ -37,7 +37,7 @@ * from: Utah Hdr: autoconf.c 1.31 91/01/21 * * from: @(#)autoconf.c 8.1 (Berkeley) 6/10/93 - * $Id: autoconf.c,v 1.27 2007/05/04 19:30:55 deraadt Exp $ + * $Id: autoconf.c,v 1.28 2007/05/08 02:16:29 deraadt Exp $ */ /* @@ -276,7 +276,7 @@ void diskconf(void) { dev_t temp; - int part; + int part = 0; printf("bootpath: %s\n", bootpath); makebootdev(bootpath); -- cgit v1.2.3