aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/gpt.h
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2005-09-17 06:34:18 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2005-09-17 06:34:18 +0000
commit2d48a58f9fc1bb9e2ad2e9af2da0b6d72e53429e (patch)
treea1a839a350a5f946d23c70482298b828c63a5204 /sys/sys/gpt.h
parente3e1ac8615f417231a2874ba5f8374f0afbbcf4e (diff)
downloadsrc-2d48a58f9fc1bb9e2ad2e9af2da0b6d72e53429e.tar.gz
src-2d48a58f9fc1bb9e2ad2e9af2da0b6d72e53429e.zip
o Change the type of the ent_name field from short to uint16_t.
UTF-16 characters are not negative. o Change the corresponding comment from UNICODE-16 to UTF-16. There's no such thing as UNICODE-16.
Notes
Notes: svn path=/head/; revision=150239
Diffstat (limited to 'sys/sys/gpt.h')
-rw-r--r--sys/sys/gpt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/gpt.h b/sys/sys/gpt.h
index 6c0b7ae92f34..a93ee965d604 100644
--- a/sys/sys/gpt.h
+++ b/sys/sys/gpt.h
@@ -65,7 +65,7 @@ struct gpt_ent {
uint64_t ent_lba_end;
uint64_t ent_attr;
#define GPT_ENT_ATTR_PLATFORM (1ULL << 0)
- short ent_name[36]; /* UNICODE-16. */
+ uint16_t ent_name[36]; /* UTF-16. */
};
#define GPT_ENT_TYPE_UNUSED \