From: compudj Date: Tue, 23 Aug 2005 00:33:39 +0000 (+0000) Subject: enum fix X-Git-Tag: v0.12.20~2435 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=805e05f5cf61dbd41705cd62ffc3a5bf7517eaf9;p=lttv.git enum fix git-svn-id: http://ltt.polymtl.ca/svn@1054 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/modules/text/textDump.c b/ltt/branches/poly/lttv/modules/text/textDump.c index 96773a6c..32259a6b 100644 --- a/ltt/branches/poly/lttv/modules/text/textDump.c +++ b/ltt/branches/poly/lttv/modules/text/textDump.c @@ -92,8 +92,9 @@ void print_field(LttEvent *e, LttField *f, GString *s, gboolean field_names) { break; case LTT_ENUM: - g_string_append_printf(s, " %s", ltt_enum_string_get(type, - ltt_event_get_unsigned(e,f)-1)); + g_string_append_printf(s, " %s", + g_quark_to_string(ltt_enum_string_get(type, + ltt_event_get_unsigned(e,f)-1))); break; case LTT_ARRAY: