diff options
Diffstat (limited to 'misc-utils/fincore.c')
-rw-r--r-- | misc-utils/fincore.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/misc-utils/fincore.c b/misc-utils/fincore.c index 6bad2c040..0fb1a759a 100644 --- a/misc-utils/fincore.c +++ b/misc-utils/fincore.c @@ -310,7 +310,7 @@ int main(int argc, char ** argv) setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); - atexit(close_stdout); + close_stdout_atexit(); while ((c = getopt_long (argc, argv, "bno:JrVh", longopts, NULL)) != -1) { switch (c) { @@ -330,8 +330,7 @@ int main(int argc, char ** argv) ctl.raw = 1; break; case 'V': - printf(UTIL_LINUX_VERSION); - return EXIT_SUCCESS; + print_version(EXIT_SUCCESS); case 'h': usage(); default: |