aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-10-06 22:09:50 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-10-06 22:09:50 +0200
commit7bb346f23c5f7a31f210fe95dcba093d0dc51571 (patch)
tree2239fc7d76b743ada2f8836a3722f36a3981eee3 /coreutils
parent8d680b51148b9cbe7dd3afd37022f3390dd999ef (diff)
downloadbusybox-w32-7bb346f23c5f7a31f210fe95dcba093d0dc51571.tar.gz
busybox-w32-7bb346f23c5f7a31f210fe95dcba093d0dc51571.tar.bz2
busybox-w32-7bb346f23c5f7a31f210fe95dcba093d0dc51571.zip
*: use {i,u}toa() where appropriate
function old new delta startservice 377 363 -14 setari_u 54 40 -14 ash_main 1375 1361 -14 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-42) Total: -42 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/cal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c
index 9b597772e..ef70b0e35 100644
--- a/coreutils/cal.c
+++ b/coreutils/cal.c
@@ -147,7 +147,7 @@ int cal_main(int argc, char **argv)
147 unsigned *dp; 147 unsigned *dp;
148 char lineout[80]; 148 char lineout[80];
149 149
150 sprintf(lineout, "%d", year); 150 sprintf(lineout, "%u", year);
151 center(lineout, 151 center(lineout,
152 (WEEK_LEN * 3 + HEAD_SEP * 2) 152 (WEEK_LEN * 3 + HEAD_SEP * 2)
153 + julian * (J_WEEK_LEN * 2 + HEAD_SEP 153 + julian * (J_WEEK_LEN * 2 + HEAD_SEP