Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/sysinst Fix harmless error preventing auto-fin...
details: https://anonhg.NetBSD.org/src/rev/cb3e3a4fca3b
branches: trunk
changeset: 779181:cb3e3a4fca3b
user: martin <martin%NetBSD.org@localhost>
date: Tue May 08 13:51:34 2012 +0000
description:
Fix harmless error preventing auto-finding non-ISO9660 formatted CD
partitions (when offering sets from CD).
diffstat:
distrib/utils/sysinst/util.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r e78673c80975 -r cb3e3a4fca3b distrib/utils/sysinst/util.c
--- a/distrib/utils/sysinst/util.c Tue May 08 13:22:36 2012 +0000
+++ b/distrib/utils/sysinst/util.c Tue May 08 13:51:34 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: util.c,v 1.177 2012/04/09 23:18:31 jdf Exp $ */
+/* $NetBSD: util.c,v 1.178 2012/05/08 13:51:34 martin Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -431,7 +431,8 @@
if (error == 0) {
for (part = 0; part < label.d_npartitions; part++) {
if (label.d_partitions[part].p_fstype
- != FS_ISO9660)
+ == FS_UNUSED
+ || label.d_partitions[part].p_size == 0)
continue;
if (label.d_partitions[part].p_fstype
== FS_ISO9660) {
Home |
Main Index |
Thread Index |
Old Index