diff options
author | 1997-07-28 22:48:01 +0000 | |
---|---|---|
committer | 1997-07-28 22:48:01 +0000 | |
commit | 86c2d48049274afa7ce4db0b01bdda7dde1416c5 (patch) | |
tree | 7dbab94df7a95dc949328ede92561d4e733aabe0 | |
parent | generate assym.h (diff) | |
download | wireguard-openbsd-86c2d48049274afa7ce4db0b01bdda7dde1416c5.tar.xz wireguard-openbsd-86c2d48049274afa7ce4db0b01bdda7dde1416c5.zip |
NULL
-rw-r--r-- | usr.sbin/ypserv/mkalias/mkalias.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ypserv/mkalias/mkalias.c b/usr.sbin/ypserv/mkalias/mkalias.c index 8687cf4ed25..c044ad29c16 100644 --- a/usr.sbin/ypserv/mkalias/mkalias.c +++ b/usr.sbin/ypserv/mkalias/mkalias.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mkalias.c,v 1.2 1997/07/26 22:07:22 maja Exp $ */ +/* $OpenBSD: mkalias.c,v 1.3 1997/07/28 22:48:01 deraadt Exp $ */ /* * Copyright (c) 1997 Mats O Jansson <moj@stacken.kth.se> @@ -32,7 +32,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: mkalias.c,v 1.2 1997/07/26 22:07:22 maja Exp $"; +static char rcsid[] = "$OpenBSD: mkalias.c,v 1.3 1997/07/28 22:48:01 deraadt Exp $"; #endif #include <ctype.h> @@ -319,7 +319,7 @@ char *argv[]; } if (new_db != NULL) { - sprintf(datestr, "%010d", time(0)); + sprintf(datestr, "%010d", time(NULL)); key.dptr = YP_LAST_KEY; key.dsize = strlen(YP_LAST_KEY); val.dptr = datestr; |