Whamcloud - gitweb
ChangeLog, debugfs.c:
authorTheodore Ts'o <tytso@mit.edu>
Wed, 15 Oct 1997 01:54:48 +0000 (01:54 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 15 Oct 1997 01:54:48 +0000 (01:54 +0000)
  When printing a usage message, have main return 1 (instead of not
  specifying a return value, bad!)

debugfs/ChangeLog
debugfs/debugfs.c

index 3293837..efd9acc 100644 (file)
@@ -1,3 +1,8 @@
+Tue Oct 14 21:50:24 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * debugfs.c (main): When printing a usage message, have main
+               return 1 (instead of not specifying a return value, bad!)
+
 Mon Sep 15 22:03:36 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
 
        * debugfs.c (main): Fix declaration of main so that it returns an int.
index 58ca557..311aa1b 100644 (file)
@@ -1430,7 +1430,7 @@ int main(int argc, char **argv)
                        break;
                default:
                        com_err(argv[0], 0, usage);
-                       return;
+                       return 1;
                }
        }
        if (optind < argc)