diff options
author | Richard Dale <richard.dale@codethink.co.uk> | 2015-06-18 17:02:11 +0000 |
---|---|---|
committer | Richard Dale <richard.dale@codethink.co.uk> | 2015-06-18 17:02:11 +0000 |
commit | ebd9788de42246dfae35686426254c8bfa87063d (patch) | |
tree | 0fb8c9b3fef3a277b9f3568632d6bcb26d323442 | |
parent | 92686f212c9a4e16891c6a3c57629cbf4f0f8360 (diff) | |
download | mtd-utils-ebd9788de42246dfae35686426254c8bfa87063d.tar.gz |
sscanf fix
-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 f09c0b2..80d05af 100644 --- a/mkfs.jffs2.c +++ b/mkfs.jffs2.c @@ -422,7 +422,7 @@ static int interpret_table_entry(struct filesystem_entry *root, char *line) if (sscanf (line, "%" SCANF_PREFIX "s %c %lo %lu %lu %lu %lu %lu %lu %lu", SCANF_STRING(name), &type, &mode, &uid, &gid, &major, &minor, - &start, &increment, &count) < 0) + &start, &increment, &count) < 10) { return 1; } |