aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-09 03:05:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-09 03:05:18 +0000
commite959878ca0f1957003baa4ff51bd182719f71c22 (patch)
tree5230fc855b872d48c2d586bb700f26a9624e6d61 /package
parent8f1588603acd6b2b06bc5a1c4091bc541cddc00e (diff)
downloadmaster-187ad058-e959878ca0f1957003baa4ff51bd182719f71c22.tar.gz
master-187ad058-e959878ca0f1957003baa4ff51bd182719f71c22.tar.bz2
master-187ad058-e959878ca0f1957003baa4ff51bd182719f71c22.zip
add busybox printf patch from #2021
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7895 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/busybox/patches/280-printf.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/busybox/patches/280-printf.patch b/package/busybox/patches/280-printf.patch
new file mode 100644
index 0000000000..d8442dc575
--- /dev/null
+++ b/package/busybox/patches/280-printf.patch
@@ -0,0 +1,18 @@
+Index: busybox-1.4.2/coreutils/printf.c
+===================================================================
+--- busybox-1.4.2.orig/coreutils/printf.c 2007-07-09 03:00:31.808788500 +0200
++++ busybox-1.4.2/coreutils/printf.c 2007-07-09 03:00:42.257441500 +0200
+@@ -60,11 +60,11 @@
+
+ static void conv_strtoul(char *arg, void *result)
+ {
+- *(unsigned long*)result = bb_strtoul(arg, NULL, 10);
++ *(unsigned long*)result = bb_strtoul(arg, NULL, 0);
+ }
+ static void conv_strtol(char *arg, void *result)
+ {
+- *(long*)result = bb_strtol(arg, NULL, 10);
++ *(long*)result = bb_strtol(arg, NULL, 0);
+ }
+ static void conv_strtod(char *arg, void *result)
+ {