summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/rlogin/des_rw.c6
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 */