projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3869f66
)
Fix a stupid bug I introduced several months ago
author
Eric Andersen
<andersen@codepoet.org>
Fri, 8 Aug 2003 07:39:57 +0000
(07:39 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Fri, 8 Aug 2003 07:39:57 +0000
(07:39 -0000)
coreutils/printf.c
patch
|
blob
|
history
diff --git
a/coreutils/printf.c
b/coreutils/printf.c
index 28f8aa45cbb16fc13fb9b66f5b52af4dd1dc78a0..181c70bfb391e083ca1982c4e6887d2825c2d260 100644
(file)
--- a/
coreutils/printf.c
+++ b/
coreutils/printf.c
@@
-411,7
+411,7
@@
static unsigned long xstrtoul(char *arg)
assert(arg!=NULL);
errno = 0;
- result = strtoul(arg, &endptr,
1
0);
+ result = strtoul(arg, &endptr, 0);
if (errno != 0 || *endptr!='\0' || endptr==arg)
fprintf(stderr, "%s", arg);
//errno = errno_save;
@@
-427,7
+427,7
@@
static long xstrtol(char *arg)
assert(arg!=NULL);
errno = 0;
- result = strtoul(arg, &endptr,
1
0);
+ result = strtoul(arg, &endptr, 0);
if (errno != 0 || *endptr!='\0' || endptr==arg)
fprintf(stderr, "%s", arg);
//errno = errno_save;