%I forgotten in snprintf
authorTill Riedel <till@ipd.info.uni-karlsruhe.de>
Tue, 29 Apr 2003 09:33:55 +0000 (09:33 +0000)
committerTill Riedel <till@ipd.info.uni-karlsruhe.de>
Tue, 29 Apr 2003 09:33:55 +0000 (09:33 +0000)
[r1092]

ir/tv/tv.c

index e70dfbe..0506060 100644 (file)
@@ -1090,7 +1090,7 @@ int tarval_snprintf(char *buf, size_t len, tarval *tv)
       if (tv->value != NULL)
         if (tarval_is_entity(tv))
           if (get_entity_peculiarity((entity *)tv->value) == existent)
-            return snprintf(buf, len, "&(%I)", get_entity_ld_ident((entity *)tv->value));
+            return snprintf(buf, len, "&(%s)", id_to_str(get_entity_ld_ident((entity *)tv->value)));
           else
             return snprintf(buf, len, "NULL");
         else {