diff options
author | dgregor <dgregor@cvs.openbsd.org> | 1997-06-24 01:51:14 +0000 |
---|---|---|
committer | dgregor <dgregor@cvs.openbsd.org> | 1997-06-24 01:51:14 +0000 |
commit | e137aaab7dd004afca06d96b9e232445b245f6bb (patch) | |
tree | 1215c750925a7390ec5b328d1574ffcd805f908d /usr.bin | |
parent | 84917e12acd85270083a62065253b1486d2c7b46 (diff) |
(long *)0 -> NULL
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/rlogin/des_rw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rlogin/des_rw.c b/usr.bin/rlogin/des_rw.c index 2033979824f..5cd3e94d386 100644 --- a/usr.bin/rlogin/des_rw.c +++ b/usr.bin/rlogin/des_rw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: des_rw.c,v 1.5 1996/11/11 05:59:44 mickey Exp $ */ +/* $OpenBSD: des_rw.c,v 1.6 1997/06/24 01:51:13 dgregor Exp $ */ /* $NetBSD: des_rw.c,v 1.2 1995/03/21 07:58:30 cgd Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)des_rw.c 8.1 (Berkeley) 6/6/93"; #else -static char rcsid[] = "$OpenBSD: des_rw.c,v 1.5 1996/11/11 05:59:44 mickey Exp $"; +static char rcsid[] = "$OpenBSD: des_rw.c,v 1.6 1997/06/24 01:51:13 dgregor Exp $"; #endif #endif /* not lint */ @@ -174,7 +174,7 @@ des_write(fd, buf, len) if(len < 8) { if(!seeded) { seeded = 1; - srandom((int) time((long *)0)); + srandom((int) time(NULL)); } garbage = random(); /* insert random garbage */ |