diff options
author | Thomas Nordin <nordin@cvs.openbsd.org> | 2002-07-25 22:18:28 +0000 |
---|---|---|
committer | Thomas Nordin <nordin@cvs.openbsd.org> | 2002-07-25 22:18:28 +0000 |
commit | d9bfc760e5f8614b88c80d2d82c1b408e25bfba2 (patch) | |
tree | 5102c9dc619a41f977498078f3c9c2afb8079c1b /sys/compat/linux | |
parent | 35f479f1c8c53ca3d8d1694d020433a09a70909a (diff) |
Avoid time wrap at securelevel 2. ok millert@ fgsch@
Diffstat (limited to 'sys/compat/linux')
-rw-r--r-- | sys/compat/linux/linux_misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 4054b4f4f48..31fe8cc71fd 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_misc.c,v 1.43 2002/06/05 19:43:25 jasoni Exp $ */ +/* $OpenBSD: linux_misc.c,v 1.44 2002/07/25 22:18:27 nordin Exp $ */ /* $NetBSD: linux_misc.c,v 1.27 1996/05/20 01:59:21 fvdl Exp $ */ /* @@ -1483,9 +1483,9 @@ linux_sys_stime(p, v, retval) atv.tv_sec = tt; atv.tv_usec = 0; - settime(&atv); + error = settime(&atv); - return 0; + return (error); } int |