summaryrefslogtreecommitdiff
path: root/jffs2reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'jffs2reader.c')
-rw-r--r--jffs2reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jffs2reader.c b/jffs2reader.c
index 5231ff0..a62da9a 100644
--- a/jffs2reader.c
+++ b/jffs2reader.c
@@ -694,7 +694,7 @@ struct jffs2_raw_dirent *resolvepath0(char *o, size_t size, uint32_t ino,
return NULL;
}
- pp = path = strdup(p);
+ pp = path = xstrdup(p);
if (*path == '/') {
path++;