eolian: warning fix
authorDaniel Kolesa <d.kolesa@samsung.com>
Tue, 15 Jul 2014 19:00:59 +0000 (20:00 +0100)
committerDaniel Kolesa <d.kolesa@samsung.com>
Tue, 15 Jul 2014 19:00:59 +0000 (20:00 +0100)
src/lib/eolian/database_type.c

index 83c367c..da5a176 100644 (file)
@@ -169,7 +169,7 @@ database_type_print(Eolian_Type *tp)
    if (tp->is_const)
      printf("const(");
    if (tp->type == EOLIAN_TYPE_REGULAR)
-     printf(tp->name);
+     printf("%s", tp->name);
    else if (tp->type == EOLIAN_TYPE_VOID)
      printf("void");
    else if (tp->type == EOLIAN_TYPE_REGULAR_STRUCT)