diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/makedevs/makedevs-1.0.0/makedevs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/makedevs/makedevs-1.0.0/makedevs.c b/meta/recipes-devtools/makedevs/makedevs-1.0.0/makedevs.c index 4bb316b332..6c1f2fb461 100644 --- a/meta/recipes-devtools/makedevs/makedevs-1.0.0/makedevs.c +++ b/meta/recipes-devtools/makedevs/makedevs-1.0.0/makedevs.c @@ -219,7 +219,7 @@ static int interpret_table_entry(char *line) dev_t rdev; char buf[80]; - for (i = start; i < count; i++) { + for (i = start; i < start + count; i++) { sprintf(buf, "%s%d", name, i); sprintf(path, "%s/%s%d", rootdir, name, i); /* FIXME: MKDEV uses illicit insider knowledge of kernel |