projects
/
platform
/
upstream
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
*: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_i
[platform/upstream/busybox.git]
/
coreutils
/
date.c
diff --git
a/coreutils/date.c
b/coreutils/date.c
index
cb41724
..
3ce352c
100644
(file)
--- a/
coreutils/date.c
+++ b/
coreutils/date.c
@@
-300,7
+300,7
@@
int date_main(int argc UNUSED_PARAM, char **argv)
scale = 1;
pres = 9;
if (n) {
- pres = xatoi_
u
(p);
+ pres = xatoi_
positive
(p);
if (pres == 0)
pres = 9;
m = 9 - pres;