fsck_minix: forgotten bit of previous commit...
authorDenis Vlasenko <vda.linux@googlemail.com>
Wed, 13 Jun 2007 12:35:34 +0000 (12:35 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Wed, 13 Jun 2007 12:35:34 +0000 (12:35 -0000)
util-linux/fsck_minix.c

index 795a5493c395c6ffaeb5d959f1ed8f048f486f02..531c1ea0b31c84283d5553e8538d9909880cd941 100644 (file)
@@ -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] = '/'; \