diff options
Diffstat (limited to 'usr.bin/touch/touch.c')
-rw-r--r-- | usr.bin/touch/touch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/touch/touch.c b/usr.bin/touch/touch.c index 46efb64..afaa537 100644 --- a/usr.bin/touch/touch.c +++ b/usr.bin/touch/touch.c @@ -38,7 +38,7 @@ static char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)touch.c 8.1 (Berkeley) 6/6/93"; +static char sccsid[] = "@(#)touch.c 8.2 (Berkeley) 4/28/95"; #endif /* not lint */ #include <sys/types.h> @@ -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 */ |