Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Fix digit number of nanosecond.



details:   https://anonhg.NetBSD.org/src/rev/a1d354af6b2f
branches:  trunk
changeset: 762389:a1d354af6b2f
user:      nakayama <nakayama%NetBSD.org@localhost>
date:      Sun Feb 20 11:21:34 2011 +0000

description:
Fix digit number of nanosecond.

diffstat:

 sys/kern/vfs_wapbl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1e6992c0dce8 -r a1d354af6b2f sys/kern/vfs_wapbl.c
--- a/sys/kern/vfs_wapbl.c      Sun Feb 20 11:21:02 2011 +0000
+++ b/sys/kern/vfs_wapbl.c      Sun Feb 20 11:21:34 2011 +0000
@@ -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);
        }



Home | Main Index | Thread Index | Old Index