diff options
Diffstat (limited to 'disk-utils/raw.c')
-rw-r--r-- | disk-utils/raw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/disk-utils/raw.c b/disk-utils/raw.c index 0a43c907c..1e7a6fbd7 100644 --- a/disk-utils/raw.c +++ b/disk-utils/raw.c @@ -24,6 +24,7 @@ #include <unistd.h> #include "c.h" +#include "closestream.h" #include "nls.h" #include "pathnames.h" @@ -106,6 +107,7 @@ int main(int argc, char *argv[]) setlocale(LC_MESSAGES, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); + atexit(close_stdout); while ((c = getopt_long(argc, argv, "qaVh", longopts, NULL)) != -1) switch (c) { |