typo in get_reloc_expr()

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1968 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2006-06-14 13:41:08 +00:00
parent bc1ad2decd
commit 4bb3973f61

View File

@ -1196,7 +1196,7 @@ void get_reloc_expr(char *name, int name_size, const char *sym_name)
} else {
#ifdef HOST_SPARC
if (sym_name[0] == '.')
snprintf(name, sizeof(name),
snprintf(name, name_size,
"(long)(&__dot_%s)",
sym_name + 1);
else