Wrap a table (bg set to black, width=80%) around the screenshot
[oweals/busybox.git] / cmp.c
diff --git a/cmp.c b/cmp.c
index 98b747eedb0f2c1a58649d23cb74faf42f84336a..dd70261df0264536ed1138e48effc6ed9b798f25 100644 (file)
--- a/cmp.c
+++ b/cmp.c
@@ -3,7 +3,7 @@
  * Mini cmp implementation for busybox
  *
  *
- * Copyright (C) 2000 by Lineo, inc.
+ * Copyright (C) 1999,2000,2001 by Lineo, inc.
  * Written by Matt Kraai <kraai@alumni.carnegiemellon.edu>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -26,6 +26,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <errno.h>
+#include <stdlib.h>
 
 int cmp_main(int argc, char **argv)
 {
@@ -54,7 +55,7 @@ int cmp_main(int argc, char **argv)
                        else
                                printf("%s %s differ: char %d, line %d\n", filename1, filename2,
                                                char_pos, line_pos);
-                       return 1;
+                       return EXIT_FAILURE;
                }
                char_pos++;
                if (c1 == '\n')