diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-28 22:48:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-28 22:48:02 +0000 |
commit | 50464f482db2d8e9564ad7c65d86846a029592cd (patch) | |
tree | 20a028d75d3c1ca59a2bb74fcadf8bf6878e8a5e /usr.sbin/ypserv/mkalias/mkalias.c | |
parent | 67a09d40cc7a71479917312842c3d5cbfa034ce7 (diff) |
NULL
Diffstat (limited to 'usr.sbin/ypserv/mkalias/mkalias.c')
-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; |