]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Fix typos
authorPetr Machata <pmachata@redhat.com>
Wed, 9 Sep 2009 13:33:24 +0000 (15:33 +0200)
committerPetr Machata <pmachata@redhat.com>
Wed, 9 Sep 2009 13:33:24 +0000 (15:33 +0200)
src/dwarfstrings.c

index fdb3ede418fe1c1e9e59ce83f98b519b3fe00f25..f25e83acb5ae10f55ee048c72289178606cecd91 100644 (file)
@@ -606,9 +606,10 @@ dwarf_locexpr_opcode_string (unsigned int code)
 {
   static const char *const known[] =
     {
-      /* Normally we can't affort building huge table of 64K entries,
-        most of them zero, just because there are a couple defined
-        values at the far end.  In case of opcodes, it's OK.  */
+      /* Normally we can't afford building table of all entries, most
+        of them zero, just because there are a couple defined values
+        at the far end.  In case of opcodes, the table is small, so
+        it's OK.  */
 #define ONE_KNOWN_DW_OP_DESC(NAME, CODE, DESC) ONE_KNOWN_DW_OP(NAME, CODE)
 #define ONE_KNOWN_DW_OP(NAME, CODE) [CODE] = #NAME,
       ALL_KNOWN_DW_OP
@@ -623,8 +624,7 @@ dwarf_locexpr_opcode_string (unsigned int code)
   if (ret == NULL)
     {
       static char buf[40];
-      snprintf (buf, sizeof buf, gettext ("unknown opcode %" PRIx64),
-               (uint64_t) code);
+      snprintf (buf, sizeof buf, gettext ("unknown opcode %x"), code);
       ret = buf;
     }