summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-08 02:16:30 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-08 02:16:30 +0000
commit8e5691c47fad5f97b51544c9ef7162270c110f38 (patch)
treeeb4effad9b8198ce3c08c4f7395ac0d9c6e6d199 /sys/arch/macppc
parent741312dc6c52a1153e38bdfdb1754b23d8b01c88 (diff)
uninitialized variable passed to setroot()
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/macppc/autoconf.c6
1 files changed, 3 insertions, 3 deletions
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);