summaryrefslogtreecommitdiff
path: root/sys/nfs
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2013-05-31 14:00:09 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2013-05-31 14:00:09 +0000
commit6daeb9882060de605c0d6bed5846778bdd0cf322 (patch)
tree30e18bfc874cf50e366f28b91eae0bf62d3bae44 /sys/nfs
parent956076bda4f834be239075d492595bf4cfd779a0 (diff)
Use %lld for printing time_t
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs_debug.c b/sys/nfs/nfs_debug.c
index 880df0e0257..7f855db7cd1 100644
--- a/sys/nfs/nfs_debug.c
+++ b/sys/nfs/nfs_debug.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_debug.c,v 1.3 2009/08/14 21:16:13 thib Exp $ */
+/* $OpenBSD: nfs_debug.c,v 1.4 2013/05/31 14:00:08 guenther Exp $ */
/*
* Copyright (c) 2009 Thordur I. Bjornsson. <thib@openbsd.org>
*
@@ -79,8 +79,8 @@ nfs_node_print(void *v, int full, int (*pr)(const char *, ...))
{
struct nfsnode *np = v;
- (*pr)("size %llu flag %i vnode %p accstamp %i\n",
- np->n_size, np->n_flag, np->n_vnode, np->n_accstamp);
+ (*pr)("size %llu flag %i vnode %p accstamp %lld\n",
+ np->n_size, np->n_flag, np->n_vnode, (long long)np->n_accstamp);
if (full) {
(*pr)("pushedlo %llu pushedhi %llu pushlo %llu pushhi %llu\n",