diff options
Diffstat (limited to 'sys-utils')
-rw-r--r-- | sys-utils/fsfreeze.c | 2 | ||||
-rw-r--r-- | sys-utils/ldattach.c | 2 | ||||
-rw-r--r-- | sys-utils/losetup.c | 2 | ||||
-rw-r--r-- | sys-utils/lscpu.c | 2 | ||||
-rw-r--r-- | sys-utils/lsipc.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/sys-utils/fsfreeze.c b/sys-utils/fsfreeze.c index 4da1a6fa3..6035a1010 100644 --- a/sys-utils/fsfreeze.c +++ b/sys-utils/fsfreeze.c @@ -77,7 +77,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, "hfuV", longopts, NULL)) != -1) { diff --git a/sys-utils/ldattach.c b/sys-utils/ldattach.c index 3019e5a9f..c2d2f8397 100644 --- a/sys-utils/ldattach.c +++ b/sys-utils/ldattach.c @@ -314,7 +314,7 @@ int main(int argc, char **argv) setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); - atexit(close_stdout); + close_stdout_atexit(); /* parse options */ if (argc == 0) diff --git a/sys-utils/losetup.c b/sys-utils/losetup.c index d862fd8e7..27884df73 100644 --- a/sys-utils/losetup.c +++ b/sys-utils/losetup.c @@ -642,7 +642,7 @@ int main(int argc, char **argv) setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); - atexit(close_stdout); + close_stdout_atexit(); if (loopcxt_init(&lc, 0)) err(EXIT_FAILURE, _("failed to initialize loopcxt")); diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index 7411994fa..4f1ab47e9 100644 --- a/sys-utils/lscpu.c +++ b/sys-utils/lscpu.c @@ -2296,7 +2296,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, "aBbC::ce::hJp::s:xyV", longopts, NULL)) != -1) { diff --git a/sys-utils/lsipc.c b/sys-utils/lsipc.c index 5ba9cd7bf..5a1a3d7ac 100644 --- a/sys-utils/lsipc.c +++ b/sys-utils/lsipc.c @@ -1137,7 +1137,7 @@ int main(int argc, char *argv[]) setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); - atexit(close_stdout); + close_stdout_atexit(); ctl->time_mode = 0; |