From 50464f482db2d8e9564ad7c65d86846a029592cd Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 28 Jul 1997 22:48:02 +0000 Subject: NULL --- usr.sbin/ypserv/mkalias/mkalias.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/ypserv/mkalias/mkalias.c') 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 @@ -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 @@ -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; -- cgit v1.2.3