From e597304ab282d3030cbe364a6c55b9fe803a86c0 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Tue, 18 Jan 2000 17:58:34 +0000 Subject: [PATCH] ChangeLog, debugfs.c: debugfs.c (main): Use return instead of exit at the end to avoid some compiler warnings --- debugfs/ChangeLog | 3 +++ debugfs/debugfs.c | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debugfs/ChangeLog b/debugfs/ChangeLog index d62a173..051832c 100644 --- a/debugfs/ChangeLog +++ b/debugfs/ChangeLog @@ -1,5 +1,8 @@ 2000-01-18 Theodore Ts'o + * 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. diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c index 14459bd..c4fd51c 100644 --- a/debugfs/debugfs.c +++ b/debugfs/debugfs.c @@ -1507,6 +1507,5 @@ int main(int argc, char **argv) if (current_fs) close_filesystem(); - exit(exit_status); + return exit_status; } - -- 1.8.3.1