Make elfcmp exit 2 for trouble and 1 only for mismatch, like all its cousins.
diff --git a/src/ChangeLog b/src/ChangeLog
index a8453be..f4686df 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -80,6 +80,10 @@
2009-01-06 Ulrich Drepper <drepper@redhat.com>
* readelf.c: Implement call frame debug section dumping.
+2009-01-05 Roland McGrath <roland@redhat.com>
+
+ * elfcmp.c: Exit with status 2 for errors (like cmp, diff, grep).
+ Status 1 (aka EXIT_FAILURE) is only for completed OK but not equal.
2009-01-01 Ulrich Drepper <drepper@redhat.com>