Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/usr.sbin/sysinst Pull up following revision(s) (requested...
details: https://anonhg.NetBSD.org/src/rev/8578efe08bdd
branches: netbsd-9
changeset: 1000625:8578efe08bdd
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Aug 05 04:34:54 2019 +0000
description:
Pull up following revision(s) (requested by martin in ticket #8):
usr.sbin/sysinst/gpt.c: revision 1.7
Deal with missing labels when parsing gpt(8) output.
diffstat:
usr.sbin/sysinst/gpt.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 40ed03092ca7 -r 8578efe08bdd usr.sbin/sysinst/gpt.c
--- a/usr.sbin/sysinst/gpt.c Sun Aug 04 19:28:05 2019 +0000
+++ b/usr.sbin/sysinst/gpt.c Mon Aug 05 04:34:54 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gpt.c,v 1.6 2019/07/28 16:30:36 martin Exp $ */
+/* $NetBSD: gpt.c,v 1.6.2.1 2019/08/05 04:34:54 msaitoh Exp $ */
/*
* Copyright 2018 The NetBSD Foundation, Inc.
@@ -212,8 +212,7 @@
} else if (strcmp(tag, "GUID:") == 0) {
strlcpy(part->gp_id, val, sizeof(part->gp_id));
} else if (strcmp(tag, "Label:") == 0) {
- if (strlen(val) > 0)
- strlcpy(part->gp_label, val, sizeof(part->gp_label));
+ strlcpy(part->gp_label, val, sizeof(part->gp_label));
} else if (strcmp(tag, "Attributes:") == 0) {
char *n;
Home |
Main Index |
Thread Index |
Old Index