1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-30 22:00:49 +02:00
openwrt-xburst/package/busybox/patches/280-printf.patch
nbd 232eda9804 add busybox printf patch from #2021
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-09 03:05:18 +00:00

19 lines
645 B
Diff

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)
{