Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/compat/netbsd32 Pull up following revision(s) (reques...
details: https://anonhg.NetBSD.org/src/rev/46b3bdfea069
branches: netbsd-7
changeset: 799486:46b3bdfea069
user: snj <snj%NetBSD.org@localhost>
date: Fri Jul 17 04:34:34 2015 +0000
description:
Pull up following revision(s) (requested by martin in ticket #879):
sys/compat/netbsd32/netbsd32_time.c: revision 1.43
Use the right type in sizeof() for copyin() in adjtime
diffstat:
sys/compat/netbsd32/netbsd32_time.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0c6980111c3c -r 46b3bdfea069 sys/compat/netbsd32/netbsd32_time.c
--- a/sys/compat/netbsd32/netbsd32_time.c Fri Jul 17 04:31:19 2015 +0000
+++ b/sys/compat/netbsd32/netbsd32_time.c Fri Jul 17 04:34:34 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_time.c,v 1.42 2012/10/02 01:44:28 christos Exp $ */
+/* $NetBSD: netbsd32_time.c,v 1.42.12.1 2015/07/17 04:34:34 snj Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_time.c,v 1.42 2012/10/02 01:44:28 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_time.c,v 1.42.12.1 2015/07/17 04:34:34 snj Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ntp.h"
@@ -332,7 +332,7 @@
if (SCARG_P32(uap, delta)) {
error = copyin(SCARG_P32(uap, delta), &atv,
- sizeof(struct timeval));
+ sizeof(atv));
if (error)
return (error);
Home |
Main Index |
Thread Index |
Old Index