diff options
Diffstat (limited to 'coreutils/cal.c')
-rw-r--r-- | coreutils/cal.c | 2 |
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 |