summaryrefslogtreecommitdiff
path: root/coreutils/date.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-08-12 14:14:45 +0200
committerDenys Vlasenko2010-08-12 14:14:45 +0200
commit7783248eaac715b813f0635b06cc140ea99bb4d9 (patch)
treeb7c3acbdf7e45afdb31a721a693f0a8a65f80730 /coreutils/date.c
parent7bfbbd434a6f435b0287cd25406927c630b03f68 (diff)
downloadbusybox-7783248eaac715b813f0635b06cc140ea99bb4d9.zip
busybox-7783248eaac715b813f0635b06cc140ea99bb4d9.tar.gz
*: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_i
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/date.c')
-rw-r--r--coreutils/date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/date.c b/coreutils/date.c
index cb41724..3ce352c 100644
--- 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;