summaryrefslogtreecommitdiff
path: root/misc-utils
diff options
context:
space:
mode:
Diffstat (limited to 'misc-utils')
-rw-r--r--misc-utils/docfdisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/docfdisk.c b/misc-utils/docfdisk.c
index c2b9150..486ce29 100644
--- a/misc-utils/docfdisk.c
+++ b/misc-utils/docfdisk.c
@@ -148,7 +148,7 @@ int main(int argc, char **argv)
int ret, i, mhblock, unitsize, block;
unsigned int nblocks[4], npart;
unsigned int totblocks;
- struct INFTLPartition *ip;
+ struct INFTLPartition *ip = NULL;
unsigned char *oobbuf;
struct mtd_oob_buf oob;
char line[20];