Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/gpt fix label printing.
details: https://anonhg.NetBSD.org/src/rev/5cd8295b95f1
branches: trunk
changeset: 342056:5cd8295b95f1
user: christos <christos%NetBSD.org@localhost>
date: Fri Dec 04 01:46:12 2015 +0000
description:
fix label printing.
diffstat:
sbin/gpt/show.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 3f46c92b2ac6 -r 5cd8295b95f1 sbin/gpt/show.c
--- a/sbin/gpt/show.c Fri Dec 04 01:43:58 2015 +0000
+++ b/sbin/gpt/show.c Fri Dec 04 01:46:12 2015 +0000
@@ -33,7 +33,7 @@
__FBSDID("$FreeBSD: src/sbin/gpt/show.c,v 1.14 2006/06/22 22:22:32 marcel Exp $");
#endif
#ifdef __RCSID
-__RCSID("$NetBSD: show.c,v 1.29 2015/12/03 02:02:43 christos Exp $");
+__RCSID("$NetBSD: show.c,v 1.30 2015/12/04 01:46:12 christos Exp $");
#endif
#include <sys/types.h>
@@ -137,7 +137,7 @@
if (show & SHOW_LABEL) {
utf16_to_utf8(ent->ent_name, utfbuf,
sizeof(utfbuf));
- b = (char *)buf;
+ b = (char *)utfbuf;
} else if (show & SHOW_GUID) {
gpt_uuid_snprintf( buf, sizeof(buf), "%d",
ent->ent_guid);
Home |
Main Index |
Thread Index |
Old Index