Module Name: src Committed By: manu Date: Thu Aug 18 19:34:48 UTC 2011
Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Fix utimes/futimes after utimensat/futimens addition To generate a diff of this commit: cvs rdiff -u -r1.436 -r1.437 src/sys/kern/vfs_syscalls.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/vfs_syscalls.c diff -u src/sys/kern/vfs_syscalls.c:1.436 src/sys/kern/vfs_syscalls.c:1.437 --- src/sys/kern/vfs_syscalls.c:1.436 Wed Aug 17 09:29:59 2011 +++ src/sys/kern/vfs_syscalls.c Thu Aug 18 19:34:47 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: vfs_syscalls.c,v 1.436 2011/08/17 09:29:59 manu Exp $ */ +/* $NetBSD: vfs_syscalls.c,v 1.437 2011/08/18 19:34:47 manu Exp $ */ /*- * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc. @@ -70,7 +70,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.436 2011/08/17 09:29:59 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.437 2011/08/18 19:34:47 manu Exp $"); #ifdef _KERNEL_OPT #include "opt_fileassoc.h" @@ -3131,6 +3131,9 @@ error = copyin(tptr, ts, sizeof (ts)); if (error != 0) return error; + } else { + ts[0] = tptr[0]; + ts[1] = tptr[1]; } }