aboutsummaryrefslogtreecommitdiff
path: root/mkfs.ubifs/lpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs.ubifs/lpt.c')
-rw-r--r--mkfs.ubifs/lpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfs.ubifs/lpt.c b/mkfs.ubifs/lpt.c
index f6d4352..6aa0b88 100644
--- a/mkfs.ubifs/lpt.c
+++ b/mkfs.ubifs/lpt.c
@@ -384,7 +384,7 @@ int create_lpt(struct ubifs_info *c)
goto out;
}
memset(pnode, 0 , sizeof(struct ubifs_pnode));
- memset(nnode, 0 , sizeof(struct ubifs_pnode));
+ memset(nnode, 0 , sizeof(struct ubifs_nnode));
c->lscan_lnum = c->main_first;