summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-05 09:43:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-05 09:43:40 +0000
commit2f535a0deaad631218f25ce9d4bd1d4053c37c7e (patch)
tree2aa938fe7082c0ae45d7345938fc5a4c9a080341
parentd7731f785f41df24cd7db7bb1c8bf5c0a8905d70 (diff)
zap that timezone stuff; mycroft
-rw-r--r--usr.bin/oldrdist/docmd.c7
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);
}