summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/files/device_table-minimal.txt2
-rw-r--r--meta/recipes-devtools/makedevs/makedevs-1.0.0/makedevs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/files/device_table-minimal.txt b/meta/files/device_table-minimal.txt
index c6e54631ce..02ed534a4d 100644
--- a/meta/files/device_table-minimal.txt
+++ b/meta/files/device_table-minimal.txt
@@ -13,7 +13,7 @@
13/dev/apm_bios c 660 0 46 10 134 - - - 13/dev/apm_bios c 660 0 46 10 134 - - -
14/dev/fb0 c 600 0 0 29 0 - - - 14/dev/fb0 c 600 0 0 29 0 - - -
15/dev/hda b 660 0 6 3 0 - - - 15/dev/hda b 660 0 6 3 0 - - -
16/dev/hda b 660 0 6 3 1 1 1 20 16/dev/hda b 660 0 6 3 1 1 1 19
17/dev/kmem c 640 0 15 1 2 - - - 17/dev/kmem c 640 0 15 1 2 - - -
18/dev/kmsg c 600 0 0 1 11 - - - 18/dev/kmsg c 600 0 0 1 11 - - -
19/dev/mem c 640 0 15 1 1 - - - 19/dev/mem c 640 0 15 1 1 - - -
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