From 960127422d68c8312e4829cde03806be3af60889 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 24 Nov 2015 16:31:18 +0100 Subject: [PATCH] systemd: add an initializer Fixes build with exceptions enabled. --- src/systemd/src/basic/fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemd/src/basic/fileio.c b/src/systemd/src/basic/fileio.c index e02d79c64d..b0d6c1121c 100644 --- a/src/systemd/src/basic/fileio.c +++ b/src/systemd/src/basic/fileio.c @@ -1066,7 +1066,7 @@ int fflush_and_check(FILE *f) { /* This is much like like mkostemp() but is subject to umask(). */ int mkostemp_safe(char *pattern, int flags) { - _cleanup_umask_ mode_t u; + _cleanup_umask_ mode_t u = 0; int fd; assert(pattern);