summaryrefslogtreecommitdiff
path: root/package/busybox/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-24 19:45:09 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-24 19:45:09 +0100
commitbfa2416c8786790b5901f3720fc6a6a6aab33c96 (patch)
tree6d2a71e5a4c2d571ea718549dbdf5a29da880d8c /package/busybox/patches
parent8412c949934c0fc8eb1c73931b6bf60f75a1da4c (diff)
parent86d7ffda38b870dc96035feb4788ae1589aab11c (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/busybox/patches')
-rw-r--r--package/busybox/patches/003-fdisk-mmc.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/busybox/patches/003-fdisk-mmc.patch b/package/busybox/patches/003-fdisk-mmc.patch
new file mode 100644
index 000000000..961c117b2
--- /dev/null
+++ b/package/busybox/patches/003-fdisk-mmc.patch
@@ -0,0 +1,14 @@
+diff -Nur busybox-1.15.2.orig/util-linux/fdisk.c busybox-1.15.2/util-linux/fdisk.c
+--- busybox-1.15.2.orig/util-linux/fdisk.c 2009-10-08 03:04:40.000000000 +0200
++++ busybox-1.15.2/util-linux/fdisk.c 2010-02-23 20:41:01.000000000 +0100
+@@ -2770,7 +2770,9 @@
+ for (s = ptname; *s; s++)
+ continue;
+ if (isdigit(s[-1]))
+- continue;
++ if (s[-1] != '0')
++ continue;
++
+ sprintf(devname, "/dev/%s", ptname);
+ open_list_and_close(devname, 0);
+ }