Module Name: src
Committed By: martin
Date: Wed Oct 14 04:17:43 UTC 2020
Modified Files:
src/usr.sbin/sysinst: gpt.c
Log Message:
Fix copy & pasto noticed by Jason Mitchell: change the type of a GPT
partition via "gpt type" - not "gpt label".
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/sysinst/gpt.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/gpt.c
diff -u src/usr.sbin/sysinst/gpt.c:1.21 src/usr.sbin/sysinst/gpt.c:1.22
--- src/usr.sbin/sysinst/gpt.c:1.21 Tue Oct 13 17:26:28 2020
+++ src/usr.sbin/sysinst/gpt.c Wed Oct 14 04:17:43 2020
@@ -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 @@ gpt_modify_part(const char *disk, struct
/* 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;
}