summaryrefslogtreecommitdiff
path: root/dyngen.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-06-14 13:41:08 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-06-14 13:41:08 +0000
commit4bb3973f616c433524709c3cf11c6d3bf28452dd (patch)
tree096f0ef5f95b9350fccfeb6748b8204a1a7477d2 /dyngen.c
parentbc1ad2decd3e5caeca90c09382b0a99e1c8d011e (diff)
typo in get_reloc_expr()
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1968 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'dyngen.c')
-rw-r--r--dyngen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dyngen.c b/dyngen.c
index c1f348a94..ed580ff5c 100644
--- a/dyngen.c
+++ b/dyngen.c
@@ -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