From cf455355f6ba328a669508e162deee4635ca4366 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 31 Jan 2022 08:42:07 -0800 Subject: [PATCH 03/43] stat: pacify -fsanitizer=leak * src/stat.c (main): Use main_exit, not return. --- src/stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stat.c b/src/stat.c index e58be55e9..edafd0285 100644 --- a/src/stat.c +++ b/src/stat.c @@ -1965,5 +1965,5 @@ main (int argc, char *argv[]) ? do_statfs (argv[i], format) : do_stat (argv[i], format, format2)); - return ok ? EXIT_SUCCESS : EXIT_FAILURE; + main_exit (ok ? EXIT_SUCCESS : EXIT_FAILURE); } -- 2.32.0