Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/route Incorrect integration. ctime takes a time_t value...



details:   https://anonhg.NetBSD.org/src/rev/5dd4780b9d83
branches:  trunk
changeset: 474450:5dd4780b9d83
user:      mjacob <mjacob%NetBSD.org@localhost>
date:      Tue Jul 06 23:15:48 1999 +0000

description:
Incorrect integration. ctime takes a time_t value, not a long.

diffstat:

 sbin/route/route.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 976a256e5482 -r 5dd4780b9d83 sbin/route/route.c
--- a/sbin/route/route.c        Tue Jul 06 23:12:04 1999 +0000
+++ b/sbin/route/route.c        Tue Jul 06 23:15:48 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: route.c,v 1.31 1999/07/02 15:29:03 itojun Exp $        */
+/*     $NetBSD: route.c,v 1.32 1999/07/06 23:15:48 mjacob Exp $        */
 
 /*
  * Copyright (c) 1983, 1989, 1991, 1993
@@ -43,7 +43,7 @@
 #if 0
 static char sccsid[] = "@(#)route.c    8.6 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: route.c,v 1.31 1999/07/02 15:29:03 itojun Exp $");
+__RCSID("$NetBSD: route.c,v 1.32 1999/07/06 23:15:48 mjacob Exp $");
 #endif
 #endif /* not lint */
 
@@ -1200,7 +1200,7 @@
                exit(0);
        }
        for(;;) {
-               long now;
+               time_t now;
                n = read(s, msg, 2048);
                now = time(NULL);
                (void) printf("got message of size %d on %s", n, ctime(&now));



Home | Main Index | Thread Index | Old Index