]> git.proxmox.com Git - mirror_qemu.git/commitdiff
typo in get_reloc_expr()
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 14 Jun 2006 13:41:08 +0000 (13:41 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 14 Jun 2006 13:41:08 +0000 (13:41 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1968 c046a42c-6fe2-441c-8c8c-71466251a162

dyngen.c

index c1f348a94fecf96b3099473092219826d7b9f53a..ed580ff5c2d6d07e45a1a99ed44fb1066276a932 100644 (file)
--- 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