Whamcloud - gitweb
ChangeLog, debugfs.c:
authorTheodore Ts'o <tytso@mit.edu>
Tue, 18 Jan 2000 17:58:34 +0000 (17:58 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 18 Jan 2000 17:58:34 +0000 (17:58 +0000)
  debugfs.c (main): Use return instead of exit at the end to avoid some
   compiler warnings

debugfs/ChangeLog
debugfs/debugfs.c

index d62a173..051832c 100644 (file)
@@ -1,5 +1,8 @@
 2000-01-18  Theodore Ts'o  <tytso@valinux.com>
 
+       * debugfs.c (main): Use return instead of exit at the end of main
+               to avoid some compiler warnings.
+
        * Makefile.in: Since LIBUUID can sometimes include
                "-lsocket" we need a separate DEPLIBUUID that can be used
                in Makefile's dependency rules.
index 14459bd..c4fd51c 100644 (file)
@@ -1507,6 +1507,5 @@ int main(int argc, char **argv)
        if (current_fs)
                close_filesystem();
        
-       exit(exit_status);
+       return exit_status;
 }
-