From: Götz Lindenmaier Date: Tue, 29 Apr 2003 09:08:45 +0000 (+0000) Subject: Bugfix X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=2208c14fc1c857256fa39133a9607faf877541a2;p=libfirm Bugfix [r1091] --- diff --git a/ir/tv/tv.c b/ir/tv/tv.c index 7eda9fce6..e70dfbe50 100644 --- a/ir/tv/tv.c +++ b/ir/tv/tv.c @@ -1100,7 +1100,7 @@ int tarval_snprintf(char *buf, size_t len, tarval *tv) } else { /* truncated */ - mempy(buf, tv->value, size-1); + memcpy(buf, tv->value, size-1); buf[size-1] = '\0'; } return tv->length;