-/* $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
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;
}
-/* $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>
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);