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) | |||
219 | dev_t rdev; | 219 | dev_t rdev; |
220 | char buf[80]; | 220 | char buf[80]; |
221 | 221 | ||
222 | for (i = start; i < count; i++) { | 222 | for (i = start; i < start + count; i++) { |
223 | sprintf(buf, "%s%d", name, i); | 223 | sprintf(buf, "%s%d", name, i); |
224 | sprintf(path, "%s/%s%d", rootdir, name, i); | 224 | sprintf(path, "%s/%s%d", rootdir, name, i); |
225 | /* FIXME: MKDEV uses illicit insider knowledge of kernel | 225 | /* FIXME: MKDEV uses illicit insider knowledge of kernel |