summaryrefslogtreecommitdiff
path: root/package/busybox/patches/003-fdisk-mmc.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
commit5042ac8e5927d0089d3902b1c37e5bcc1565d053 (patch)
treecd2be3085808c5ac59dd70f9c610c6a40bfe3ffd /package/busybox/patches/003-fdisk-mmc.patch
parent401dabf66529cfb5ab47b4c78d5e25fd493eef1f (diff)
parent4d569ed1a3305c7b7abe8fa4273cea3b559cc85a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: BUGS package/autoconf/Makefile
Diffstat (limited to 'package/busybox/patches/003-fdisk-mmc.patch')
-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);
+ }