summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobi6 <robi6@users.sourceforge.net>2014-09-03 21:31:45 +0200
committerrobi6 <robi6@users.sourceforge.net>2014-09-03 21:31:45 +0200
commitbb9f81725515893ebe7a252687520945eb8b1934 (patch)
tree5e66361dbc1e49caf9c6a25610a9ad8ac7862ec2
parent3b5b530a4758758d005dc5f1015c045b83bf3326 (diff)
compiler warning new interface
-rw-r--r--src/ext4magic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ext4magic.c b/src/ext4magic.c
index 56ff0d7..27328d0 100644
--- a/src/ext4magic.c
+++ b/src/ext4magic.c
@@ -57,7 +57,7 @@ extern char *optarg;
#include "block.h"
-extern char* magicfile = NULL;
+extern char* magicfile;
ext2_filsys current_fs = NULL;
ext2_ino_t root, cwd;
ext2fs_inode_bitmap imap = NULL ;
@@ -361,6 +361,7 @@ int journal_backup = 0;
__u32 t_before = 0;
__u32 t_after = 0;
struct stat filestat;
+magicfile = NULL;
// Sanity checks on the user.