Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst mount is an array and can't be NULL (rin)
details: https://anonhg.NetBSD.org/src/rev/25615a57943f
branches: trunk
changeset: 999844:25615a57943f
user: christos <christos%NetBSD.org@localhost>
date: Thu Jun 20 15:52:07 2019 +0000
description:
mount is an array and can't be NULL (rin)
diffstat:
usr.sbin/sysinst/bsddisklabel.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 919cff43483d -r 25615a57943f usr.sbin/sysinst/bsddisklabel.c
--- a/usr.sbin/sysinst/bsddisklabel.c Thu Jun 20 15:49:20 2019 +0000
+++ b/usr.sbin/sysinst/bsddisklabel.c Thu Jun 20 15:52:07 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bsddisklabel.c,v 1.13 2019/06/20 00:43:55 christos Exp $ */
+/* $NetBSD: bsddisklabel.c,v 1.14 2019/06/20 15:52:07 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -316,7 +316,7 @@
getfslabelname(pset->infos[opt].fs_type,
pset->infos[opt].fs_version));
mount = swap;
- } else if (pset->infos[opt].mount && pset->infos[opt].mount[0]) {
+ } else if (pset->infos[opt].mount[0]) {
mount = pset->infos[opt].mount;
} else {
mount = getfslabelname(pset->infos[opt].fs_type,
Home |
Main Index |
Thread Index |
Old Index