Module Name: src
Committed By: snj
Date: Sat Oct 3 23:22:23 UTC 2009
Modified Files:
src/distrib/utils/sysinst [netbsd-5]: disks.c
Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #1046):
distrib/utils/sysinst/disks.c: revision 1.107
In get_descr(), initialize dd_descr to an empty string before probing
ATA and SCSI identification. Fixes issues with xbd and raid.
To generate a diff of this commit:
cvs rdiff -u -r1.100.2.4 -r1.100.2.5 src/distrib/utils/sysinst/disks.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/utils/sysinst/disks.c
diff -u src/distrib/utils/sysinst/disks.c:1.100.2.4 src/distrib/utils/sysinst/disks.c:1.100.2.5
--- src/distrib/utils/sysinst/disks.c:1.100.2.4 Sat Sep 5 12:57:00 2009
+++ src/distrib/utils/sysinst/disks.c Sat Oct 3 23:22:23 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: disks.c,v 1.100.2.4 2009/09/05 12:57:00 bouyer Exp $ */
+/* $NetBSD: disks.c,v 1.100.2.5 2009/10/03 23:22:23 snj Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -288,6 +288,8 @@
if (fd < 0)
goto done;
+ dd->dd_descr[0] = '\0';
+
/* try ATA */
if (get_descr_ata(dd, fd))
goto done;