Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 Set 'error' properly.
details: https://anonhg.NetBSD.org/src/rev/cd2bf3978a89
branches: trunk
changeset: 339435:cd2bf3978a89
user: maxv <maxv%NetBSD.org@localhost>
date: Wed Jul 22 14:06:26 2015 +0000
description:
Set 'error' properly.
diffstat:
sys/compat/netbsd32/netbsd32_time.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d2f45e5e93cd -r cd2bf3978a89 sys/compat/netbsd32/netbsd32_time.c
--- a/sys/compat/netbsd32/netbsd32_time.c Wed Jul 22 13:33:59 2015 +0000
+++ b/sys/compat/netbsd32/netbsd32_time.c Wed Jul 22 14:06:26 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_time.c,v 1.44 2015/07/17 06:42:48 skrll Exp $ */
+/* $NetBSD: netbsd32_time.c,v 1.45 2015/07/22 14:06:26 maxv 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.44 2015/07/17 06:42:48 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_time.c,v 1.45 2015/07/22 14:06:26 maxv Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ntp.h"
@@ -323,7 +323,7 @@
atv.tv_usec += 1000000;
atv.tv_sec--;
}
- (void) copyout(&atv, SCARG_P32(uap, olddelta), sizeof(atv));
+ error = copyout(&atv, SCARG_P32(uap, olddelta), sizeof(atv));
if (error)
return (error);
}
Home |
Main Index |
Thread Index |
Old Index