]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Cosmetic.
authorRoland McGrath <roland@redhat.com>
Sat, 10 Jan 2009 10:06:08 +0000 (02:06 -0800)
committerRoland McGrath <roland@redhat.com>
Sat, 10 Jan 2009 10:06:08 +0000 (02:06 -0800)
src/dwarfcmp.cc

index 4c84f25f575d77f9d2f1c05922e4a676ffb0e258..1b419e6729bf1327624284cfaac00cec44508f87 100644 (file)
@@ -161,7 +161,7 @@ struct context
 
   void values (int name) const
   {
-    location () << "different values for attribute 0x" << name << endl;
+    location () << "different values for attribute 0x" << hex << name << endl;
   }
 };
 
@@ -233,8 +233,9 @@ describe_mismatch (const dwarf::compile_unit &a, const dwarf::compile_unit &b,
 }
 
 template<>
-int describe_mismatch (const dwarf::attribute &a, const dwarf::attribute &b,
-                      const context &say)
+int
+describe_mismatch (const dwarf::attribute &a, const dwarf::attribute &b,
+                  const context &say)
 {
   int result = a.first != b.first;
   if (result != 0)
@@ -294,11 +295,9 @@ main (int argc, char *argv[])
     }
   else
     {
-
       elfutils::dwarf file1 (dw1);
       elfutils::dwarf file2 (dw2);
 
-
       if (quiet)
        result = !(file1 == file2);
       else