[oe-commits] Andrea Adami : makedevs: fix interpretation of device table (count).
git version control
git at git.openembedded.org
Wed Oct 21 23:09:58 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 243600420c28acd7ef4b2dfc46862f9151972657
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=243600420c28acd7ef4b2dfc46862f9151972657
Author: Andrea Adami <andrea.adami at gmail.com>
Date: Thu Oct 22 00:18:22 2009 +0200
makedevs: fix interpretation of device table (count).
Signed-off-by: Antonio Ospite <ospite at studenti.unina.it>
---
recipes/makedevs/makedevs-1.0.0/makedevs.c | 2 +-
recipes/makedevs/makedevs_1.0.0.bb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes/makedevs/makedevs-1.0.0/makedevs.c b/recipes/makedevs/makedevs-1.0.0/makedevs.c
index c7ad722..80f21f0 100644
--- a/recipes/makedevs/makedevs-1.0.0/makedevs.c
+++ b/recipes/makedevs/makedevs-1.0.0/makedevs.c
@@ -221,7 +221,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);
/* FIXME: MKDEV uses illicit insider knowledge of kernel
* major/minor representation... */
diff --git a/recipes/makedevs/makedevs_1.0.0.bb b/recipes/makedevs/makedevs_1.0.0.bb
index 5579e61..cab1a4c 100644
--- a/recipes/makedevs/makedevs_1.0.0.bb
+++ b/recipes/makedevs/makedevs_1.0.0.bb
@@ -6,7 +6,7 @@ PRIORITY = "required"
SRC_URI = "file://makedevs.c"
S = "${WORKDIR}/makedevs-${PV}"
-PR = "r7"
+PR = "r8"
inherit update-alternatives
More information about the Openembedded-commits
mailing list