diff options
Diffstat (limited to 'coreutils')
-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 9b59777..ef70b0e 100644 --- a/coreutils/cal.c +++ b/coreutils/cal.c @@ -147,7 +147,7 @@ int cal_main(int argc, char **argv) unsigned *dp; char lineout[80]; - sprintf(lineout, "%d", year); + sprintf(lineout, "%u", year); center(lineout, (WEEK_LEN * 3 + HEAD_SEP * 2) + julian * (J_WEEK_LEN * 2 + HEAD_SEP |