enum fix
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 23 Aug 2005 00:33:39 +0000 (00:33 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 23 Aug 2005 00:33:39 +0000 (00:33 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1054 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/text/textDump.c

index 96773a6c08bbff6d333736a97c3852fc0ee696f7..32259a6bb275fd71f2638e984dee395ba60c64a2 100644 (file)
@@ -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:
This page took 0.023737 seconds and 4 git commands to generate.