Module Name: src
Committed By: martin
Date: Thu Dec 12 20:14:22 UTC 2019
Modified Files:
src/usr.sbin/sysinst: disklabel.c
Log Message:
Fix inverted comparison
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/sysinst/disklabel.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/sysinst/disklabel.c
diff -u src/usr.sbin/sysinst/disklabel.c:1.20 src/usr.sbin/sysinst/disklabel.c:1.21
--- src/usr.sbin/sysinst/disklabel.c:1.20 Thu Dec 12 19:29:05 2019
+++ src/usr.sbin/sysinst/disklabel.c Thu Dec 12 20:14:21 2019
@@ -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 @@ disklabel_parts_read(const char *disk, d
close(fd);
#ifndef DISKLABEL_NO_ONDISK_VERIFY
- if (!have_raw_label && only_dl) {
+ if (!have_raw_label && !only_dl) {
bool found_real_part = false;
/*