mirror of
https://git.yoctoproject.org/poky
synced 2026-09-20 03:49:32 +02:00
makedevs: Make count actually behave as a count for device blocks
Previously count actually behaved as end, and did not take start into account. (From OE-Core rev: 4fe2b01bfd2831b002e7138dadbc0437df6e9ed6) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c81ecf96ed
commit
59bb8e17c7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user