Module Name: src
Committed By: riastradh
Date: Sun Aug 28 13:50:50 UTC 2022
Modified Files:
src/sys/sys: disklabel_gpt.h
Log Message:
sys/disklabel_gpt.h: Fix description of name encoding.
The encoding is UCS-2 from Unicode 2.1 or ISO/IEC 10646. This is not
to be confused with UTF-16, which encodes code points outside the BMP
(Basic Multilingual Plane, ~16-bit space) with pairs of surrogate
code points.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/sys/disklabel_gpt.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/disklabel_gpt.h
diff -u src/sys/sys/disklabel_gpt.h:1.14 src/sys/sys/disklabel_gpt.h:1.15
--- src/sys/sys/disklabel_gpt.h:1.14 Mon May 18 05:47:54 2020
+++ src/sys/sys/disklabel_gpt.h Sun Aug 28 13:50:50 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: disklabel_gpt.h,v 1.14 2020/05/18 05:47:54 msaitoh Exp $ */
+/* $NetBSD: disklabel_gpt.h,v 1.15 2022/08/28 13:50:50 riastradh Exp $ */
/*
* Copyright (c) 2002 Marcel Moolenaar
@@ -79,7 +79,7 @@ struct gpt_ent {
uint64_t ent_lba_start; /* start of partition */
uint64_t ent_lba_end; /* end of partition */
uint64_t ent_attr; /* partition attributes */
- uint16_t ent_name[36]; /* partition name in UNICODE-16 */
+ uint16_t ent_name[36]; /* partition name in UCS-2 */
};
#define GPT_ENT_ATTR_REQUIRED_PARTITION (1ULL << 0)