From: Till Riedel Date: Tue, 29 Apr 2003 09:33:55 +0000 (+0000) Subject: %I forgotten in snprintf X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=236c2c92af3bea4ae659f6c3e91926afe1db0f8e;p=libfirm %I forgotten in snprintf [r1092] --- diff --git a/ir/tv/tv.c b/ir/tv/tv.c index e70dfbe50..05060600c 100644 --- a/ir/tv/tv.c +++ b/ir/tv/tv.c @@ -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 {