From 055d56d65e6cfd4ecb1b3ce7a9dfe39aa96406ec Mon Sep 17 00:00:00 2001 From: kstailey Date: Wed, 18 Jun 1997 19:23:30 +0000 Subject: (foo *)0 -> NULL --- bin/ed/cbc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/ed') diff --git a/bin/ed/cbc.c b/bin/ed/cbc.c index 3eb9efbcf89..10e6b2229d9 100644 --- a/bin/ed/cbc.c +++ b/bin/ed/cbc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cbc.c,v 1.4 1996/10/12 19:38:31 millert Exp $ */ +/* $OpenBSD: cbc.c,v 1.5 1997/06/18 19:22:35 kstailey Exp $ */ /* $NetBSD: cbc.c,v 1.9 1995/03/21 09:04:36 cgd Exp $ */ /* cbc.c: This file contains the encryption routines for the ed line editor */ @@ -44,7 +44,7 @@ #if 0 static char *rcsid = "@(#)cbc.c,v 1.2 1994/02/01 00:34:36 alm Exp"; #else -static char rcsid[] = "$OpenBSD: cbc.c,v 1.4 1996/10/12 19:38:31 millert Exp $"; +static char rcsid[] = "$OpenBSD: cbc.c,v 1.5 1997/06/18 19:22:35 kstailey Exp $"; #endif #endif /* not lint */ @@ -125,7 +125,7 @@ init_des_cipher() MEMZERO(ivec, 8); /* intialize the padding vector */ - srand((unsigned) time((time_t *) 0)); + srand((unsigned) time(NULL)); for (i = 0; i < 8; i++) CHAR(pvec, i) = (char) (rand()/RAND_DIV); #endif -- cgit v1.2.3