diff options
Diffstat (limited to 'mkfs.jffs2.c')
-rw-r--r-- | mkfs.jffs2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfs.jffs2.c b/mkfs.jffs2.c index c1b0f0d..f09c0b2 100644 --- a/mkfs.jffs2.c +++ b/mkfs.jffs2.c @@ -469,7 +469,7 @@ static int interpret_table_entry(struct filesystem_entry *root, char *line) } else { /* If parent is NULL (happens with device table entries), * try and find our parent now) */ - tmp = strdup(name); + tmp = xstrdup(name); dir = dirname(tmp); parent = find_filesystem_entry(root, dir, S_IFDIR); free(tmp); |