diff options
Diffstat (limited to 'misc-utils/look.c')
-rw-r--r-- | misc-utils/look.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/misc-utils/look.c b/misc-utils/look.c index d2699bfdd..d3f0622c3 100644 --- a/misc-utils/look.c +++ b/misc-utils/look.c @@ -100,7 +100,7 @@ main(int argc, char *argv[]) setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); - atexit(close_stdout); + close_stdout_atexit(); setlocale(LC_ALL, ""); @@ -127,8 +127,7 @@ main(int argc, char *argv[]) termchar = *optarg; break; case 'V': - printf(UTIL_LINUX_VERSION); - return EXIT_SUCCESS; + print_version(EXIT_SUCCESS); case 'h': usage(); default: |