aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util-linux/fsck_minix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c
index 795a5493c..531c1ea0b 100644
--- a/util-linux/fsck_minix.c
+++ b/util-linux/fsck_minix.c
@@ -190,6 +190,7 @@ struct globals {
#define check_file_blk (G.check_file_blk )
#define current_name (G.current_name )
#define INIT_G() do { \
+ PTR_TO_GLOBALS = xzalloc(sizeof(G)); \
dirsize = 16; \
namelen = 14; \
current_name[0] = '/'; \