summaryrefslogtreecommitdiffstats
path: root/usr.bin/touch
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/touch')
-rw-r--r--usr.bin/touch/touch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/touch/touch.c b/usr.bin/touch/touch.c
index cb96645..d1de0bc 100644
--- a/usr.bin/touch/touch.c
+++ b/usr.bin/touch/touch.c
@@ -204,7 +204,7 @@ stime_arg1(arg, tvp)
switch(strlen(arg)) {
case 12: /* CCYYMMDDhhmm */
t->tm_year = ATOI2(arg);
- t->tm_year *= 1000;
+ t->tm_year *= 100;
yearset = 1;
/* FALLTHOUGH */
case 10: /* YYMMDDhhmm */
OpenPOWER on IntegriCloud