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/3bf6c89e6043
branches: trunk
changeset: 1005553:3bf6c89e6043
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 b3e2e40e770f -r 3bf6c89e6043 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