Module Name: src Committed By: nakayama Date: Sun Feb 20 11:21:34 UTC 2011
Modified Files: src/sys/kern: vfs_wapbl.c Log Message: Fix digit number of nanosecond. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/kern/vfs_wapbl.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_wapbl.c diff -u src/sys/kern/vfs_wapbl.c:1.42 src/sys/kern/vfs_wapbl.c:1.43 --- src/sys/kern/vfs_wapbl.c:1.42 Fri Feb 18 13:24:40 2011 +++ src/sys/kern/vfs_wapbl.c Sun Feb 20 11:21:34 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: vfs_wapbl.c,v 1.42 2011/02/18 13:24:40 hannken Exp $ */ +/* $NetBSD: vfs_wapbl.c,v 1.43 2011/02/20 11:21:34 nakayama Exp $ */ /*- * Copyright (c) 2003, 2008, 2009 The NetBSD Foundation, Inc. @@ -36,7 +36,7 @@ #define WAPBL_INTERNAL #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.42 2011/02/18 13:24:40 hannken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.43 2011/02/20 11:21:34 nakayama Exp $"); #include <sys/param.h> #include <sys/bitops.h> @@ -1406,7 +1406,7 @@ if (wapbl_verbose_commit) { struct timespec ts; getnanotime(&ts); - printf("%s: %lld.%06ld this transaction = %zu bytes\n", + printf("%s: %lld.%09ld this transaction = %zu bytes\n", __func__, (long long)ts.tv_sec, (long)ts.tv_nsec, flushsize); }