Module Name:    src
Committed By:   christos
Date:           Thu Feb  5 16:00:39 UTC 2015

Modified Files:
        src/lib/libc/gen: utmpx.c

Log Message:
fix incorrect type


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/lib/libc/gen/utmpx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/gen/utmpx.c
diff -u src/lib/libc/gen/utmpx.c:1.32 src/lib/libc/gen/utmpx.c:1.33
--- src/lib/libc/gen/utmpx.c:1.32	Thu Sep 18 09:58:20 2014
+++ src/lib/libc/gen/utmpx.c	Thu Feb  5 11:00:39 2015
@@ -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 @@ old2new(struct utmpx *utx)
 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;

Reply via email to