Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst Fix inverted comparison
details: https://anonhg.NetBSD.org/src/rev/bbc28b1f0050
branches: trunk
changeset: 967518:bbc28b1f0050
user: martin <martin%NetBSD.org@localhost>
date: Thu Dec 12 20:14:21 2019 +0000
description:
Fix inverted comparison
diffstat:
usr.sbin/sysinst/disklabel.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r b8b6cefe2ed0 -r bbc28b1f0050 usr.sbin/sysinst/disklabel.c
--- a/usr.sbin/sysinst/disklabel.c Thu Dec 12 19:29:05 2019 +0000
+++ b/usr.sbin/sysinst/disklabel.c Thu Dec 12 20:14:21 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disklabel.c,v 1.20 2019/12/12 19:29:05 martin Exp $ */
+/* $NetBSD: disklabel.c,v 1.21 2019/12/12 20:14:21 martin Exp $ */
/*
* Copyright 2018 The NetBSD Foundation, Inc.
@@ -267,7 +267,7 @@
close(fd);
#ifndef DISKLABEL_NO_ONDISK_VERIFY
- if (!have_raw_label && only_dl) {
+ if (!have_raw_label && !only_dl) {
bool found_real_part = false;
/*
Home |
Main Index |
Thread Index |
Old Index