summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ext4magic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ext4magic.c b/src/ext4magic.c
index 27328d0..6515bb0 100644
--- a/src/ext4magic.c
+++ b/src/ext4magic.c
@@ -57,7 +57,7 @@ extern char *optarg;
#include "block.h"
-extern char* magicfile;
+char* magicfile = NULL;
ext2_filsys current_fs = NULL;
ext2_ino_t root, cwd;
ext2fs_inode_bitmap imap = NULL ;
@@ -361,7 +361,6 @@ int journal_backup = 0;
__u32 t_before = 0;
__u32 t_after = 0;
struct stat filestat;
-magicfile = NULL;
// Sanity checks on the user.