Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gen fix incorrect type



details:   https://anonhg.NetBSD.org/src/rev/a1077410d2bd
branches:  trunk
changeset: 335989:a1077410d2bd
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Feb 05 16:00:39 2015 +0000

description:
fix incorrect type

diffstat:

 lib/libc/gen/utmpx.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6c8304f53fab -r a1077410d2bd lib/libc/gen/utmpx.c
--- a/lib/libc/gen/utmpx.c      Thu Feb 05 14:32:31 2015 +0000
+++ b/lib/libc/gen/utmpx.c      Thu Feb 05 16:00:39 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: utmpx.c,v 1.32 2014/09/18 13:58:20 christos Exp $       */
+/*     $NetBSD: utmpx.c,v 1.33 2015/02/05 16:00:39 christos Exp $       */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 #include <sys/cdefs.h>
 
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: utmpx.c,v 1.32 2014/09/18 13:58:20 christos Exp $");
+__RCSID("$NetBSD: utmpx.c,v 1.33 2015/02/05 16:00:39 christos Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "namespace.h"
@@ -82,7 +82,7 @@
 static void
 new2old(struct utmpx *utx)
 {
-       struct timeval otv;
+       struct otimeval otv;
        struct timeval *tv = &utx->ut_tv;
 
        otv.tv_sec = (long)tv->tv_sec;



Home | Main Index | Thread Index | Old Index