Module Name: src Committed By: riastradh Date: Tue Mar 24 23:24:55 UTC 2015
Modified Files: src/tests/fs/vfs: t_vnops.c Log Message: Make this run in NetBSD 6 by using st_mtimespec instead of st_mtim. st_mtimespec is our traditional nonstandard name for what POSIX called st_mtim in 2008, but these aren't going to run in non-NetBSD anyway so using the nonstandard name shouldn't be an issue. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/tests/fs/vfs/t_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/fs/vfs/t_vnops.c diff -u src/tests/fs/vfs/t_vnops.c:1.44 src/tests/fs/vfs/t_vnops.c:1.45 --- src/tests/fs/vfs/t_vnops.c:1.44 Mon Dec 29 15:31:44 2014 +++ src/tests/fs/vfs/t_vnops.c Tue Mar 24 23:24:55 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: t_vnops.c,v 1.44 2014/12/29 15:31:44 hannken Exp $ */ +/* $NetBSD: t_vnops.c,v 1.45 2015/03/24 23:24:55 riastradh Exp $ */ /*- * Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -118,10 +118,10 @@ lookup_complex(const atf_tc_t *tc, const FIELD(st_uid); FIELD(st_gid); FIELD(st_rdev); - TIME(st_atim); - TIME(st_mtim); - TIME(st_ctim); - TIME(st_birthtim); + TIME(st_atimespec); + TIME(st_mtimespec); + TIME(st_ctimespec); + TIME(st_birthtimespec); FIELD(st_size); FIELD(st_blocks); FIELD(st_flags);