diff options
Diffstat (limited to 'usr.bin/oldrdist')
-rw-r--r-- | usr.bin/oldrdist/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/oldrdist/server.c b/usr.bin/oldrdist/server.c index a291e97841b..a723df98d9b 100644 --- a/usr.bin/oldrdist/server.c +++ b/usr.bin/oldrdist/server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server.c,v 1.32 2009/10/27 23:59:41 deraadt Exp $ */ +/* $OpenBSD: server.c,v 1.33 2013/04/16 22:37:28 deraadt Exp $ */ /* * Copyright (c) 1983, 1993 @@ -947,7 +947,7 @@ differ: buf[0] = '\0'; /* * Set last modified time */ - tvp[0].tv_sec = time(0); + tvp[0].tv_sec = time(NULL); tvp[0].tv_usec = 0; tvp[1].tv_sec = mtime; tvp[1].tv_usec = 0; |