]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Fix formatting of wheres
authorPetr Machata <pmachata@redhat.com>
Sat, 31 Jan 2009 21:36:37 +0000 (22:36 +0100)
committerPetr Machata <pmachata@redhat.com>
Sat, 31 Jan 2009 21:36:37 +0000 (22:36 +0100)
src/dwarflint.c

index 107259390f4698bfe3710deed9742fe6a8161dc1..20b38131bc7b97eb0dbb97a9844e69ebdbfde89e 100644 (file)
@@ -746,6 +746,7 @@ static const char *where_fmt (struct where *wh, char *ptr)
       ptr = stpcpy (ptr, " (");
       ptr = (char *)where_fmt (wh->ref, ptr);
       *ptr++ = ')';
+      *ptr = 0;
     }
 
   if (orig == NULL)