diff options
author | 1997-11-05 09:43:39 +0000 | |
---|---|---|
committer | 1997-11-05 09:43:39 +0000 | |
commit | c2ccacbfe1488a2f60bca2a2778b87cb7212ad3e (patch) | |
tree | c6e23e94f756dac0c1252eed3c92596be97eaafe | |
parent | interpret the following as " 040" and not as " "; augustss@cs.chalmers.se (diff) | |
download | wireguard-openbsd-c2ccacbfe1488a2f60bca2a2778b87cb7212ad3e.tar.xz wireguard-openbsd-c2ccacbfe1488a2f60bca2a2778b87cb7212ad3e.zip |
zap that timezone stuff; mycroft
-rw-r--r-- | usr.bin/oldrdist/docmd.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/oldrdist/docmd.c b/usr.bin/oldrdist/docmd.c index 43eb92f9ca1..e255bdc1344 100644 --- a/usr.bin/oldrdist/docmd.c +++ b/usr.bin/oldrdist/docmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: docmd.c,v 1.8 1997/02/09 19:24:56 deraadt Exp $ */ +/* $OpenBSD: docmd.c,v 1.9 1997/11/05 09:43:39 deraadt Exp $ */ /* * Copyright (c) 1983, 1993 @@ -35,7 +35,7 @@ #ifndef lint /* from: static char sccsid[] = "@(#)docmd.c 8.1 (Berkeley) 6/9/93"; */ -static char *rcsid = "$OpenBSD: docmd.c,v 1.8 1997/02/09 19:24:56 deraadt Exp $"; +static char *rcsid = "$OpenBSD: docmd.c,v 1.9 1997/11/05 09:43:39 deraadt Exp $"; #endif /* not lint */ #include "defs.h" @@ -376,7 +376,6 @@ dodcolon(filev, files, stamp, cmds) register struct namelist *f; register char **cpp; struct timeval tv[2]; - struct timezone tz; struct stat stb; if (debug) @@ -407,7 +406,7 @@ dodcolon(filev, files, stamp, cmds) (void) close(fd); return; } - (void) gettimeofday(&tv[0], &tz); + (void) gettimeofday(&tv[0], NULL); tv[1] = tv[0]; (void) utimes(stamp, tv); } |