summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2023-04-07 16:34:42 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2023-04-07 16:34:42 +0000
commit42236fbaaa6b6809e7d6543327b9e4bf9c4c4153 (patch)
treec2073381fbc59af06d75a27c4b32b4d74d2404e7
parent878b6c4ed803f8bf8efb75aa19e9ad56623bc859 (diff)
Oops. Missed files in last commit.
-rw-r--r--sbin/fdisk/cmd.c6
-rw-r--r--sbin/fdisk/gpt.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/sbin/fdisk/cmd.c b/sbin/fdisk/cmd.c
index 3dabe6be38b..e6593dcf671 100644
--- a/sbin/fdisk/cmd.c
+++ b/sbin/fdisk/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.173 2023/03/31 13:11:40 krw Exp $ */
+/* $OpenBSD: cmd.c,v 1.174 2023/04/07 16:34:41 krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -266,14 +266,14 @@ gsetpid(const int pn)
if (PRT_protected_uuid(&gp[pn].gp_type)) {
printf("can't edit partition type %s\n",
- PRT_uuid_to_name(&gp[pn].gp_type));
+ PRT_uuid_to_desc(&gp[pn].gp_type));
return -1;
}
gp[pn].gp_type = *ask_uuid(&gp[pn].gp_type);
if (PRT_protected_uuid(&gp[pn].gp_type)) {
printf("can't change partition type to %s\n",
- PRT_uuid_to_name(&gp[pn].gp_type));
+ PRT_uuid_to_desc(&gp[pn].gp_type));
return -1;
}
diff --git a/sbin/fdisk/gpt.c b/sbin/fdisk/gpt.c
index bebb470c718..b0fc72fa033 100644
--- a/sbin/fdisk/gpt.c
+++ b/sbin/fdisk/gpt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gpt.c,v 1.88 2023/03/31 13:11:41 krw Exp $ */
+/* $OpenBSD: gpt.c,v 1.89 2023/04/07 16:34:41 krw Exp $ */
/*
* Copyright (c) 2015 Markus Muller <mmu@grummel.net>
* Copyright (c) 2015 Kenneth R Westerback <krw@openbsd.org>
@@ -449,7 +449,7 @@ GPT_print_part(const unsigned int pn, const char *units, const int verbosity)
size = units_size(units, (start > end) ? 0 : end - start + 1, &ut);
printf(" %3u: %-36s [%12lld: %12.0f%s]\n", pn,
- PRT_uuid_to_name(&gp[pn].gp_type), start, size, ut->ut_abbr);
+ PRT_uuid_to_desc(&gp[pn].gp_type), start, size, ut->ut_abbr);
if (verbosity == VERBOSE) {
uuid_to_string(&gp[pn].gp_guid, &guidstr, &status);