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 copy & pasto noticed by Jason Mitchell:...
details: https://anonhg.NetBSD.org/src/rev/a29a0745d837
branches: trunk
changeset: 955843:a29a0745d837
user: martin <martin%NetBSD.org@localhost>
date: Wed Oct 14 04:17:43 2020 +0000
description:
Fix copy & pasto noticed by Jason Mitchell: change the type of a GPT
partition via "gpt type" - not "gpt label".
diffstat:
usr.sbin/sysinst/gpt.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 148fc2bd5f0c -r a29a0745d837 usr.sbin/sysinst/gpt.c
--- a/usr.sbin/sysinst/gpt.c Wed Oct 14 00:59:50 2020 +0000
+++ b/usr.sbin/sysinst/gpt.c Wed Oct 14 04:17:43 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gpt.c,v 1.21 2020/10/13 17:26:28 martin Exp $ */
+/* $NetBSD: gpt.c,v 1.22 2020/10/14 04:17:43 martin Exp $ */
/*
* Copyright 2018 The NetBSD Foundation, Inc.
@@ -1266,7 +1266,7 @@
/* Check type */
if (p->gp_type != old.gp_type) {
if (run_program(RUN_SILENT,
- "gpt label -b %" PRIu64 " -T %s %s",
+ "gpt type -b %" PRIu64 " -T %s %s",
p->gp_start, p->gp_type->tid, disk) != 0)
return false;
}
Home |
Main Index |
Thread Index |
Old Index