summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranton <anton@openbsd.org>2019-04-20 14:13:11 +0000
committeranton <anton@openbsd.org>2019-04-20 14:13:11 +0000
commite2502dba36e3aa6b390edb6ea13ef18c5af91193 (patch)
tree7f0cf9b32494cce061f3fd33af05b3e33c9277d1
parentThe rip6 checksum errors are accounted per socket. So the no socket (diff)
downloadwireguard-openbsd-e2502dba36e3aa6b390edb6ea13ef18c5af91193.tar.xz
wireguard-openbsd-e2502dba36e3aa6b390edb6ea13ef18c5af91193.zip
print locked range in decimal in debug routines
-rw-r--r--sys/kern/vfs_lockf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_lockf.c b/sys/kern/vfs_lockf.c
index 21cfa9df0ba..f08d5233f29 100644
--- a/sys/kern/vfs_lockf.c
+++ b/sys/kern/vfs_lockf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_lockf.c,v 1.38 2019/04/20 08:28:59 anton Exp $ */
+/* $OpenBSD: vfs_lockf.c,v 1.39 2019/04/20 14:13:11 anton Exp $ */
/* $NetBSD: vfs_lockf.c,v 1.7 1996/02/04 02:18:21 christos Exp $ */
/*
@@ -875,7 +875,7 @@ lf_print(const char *tag, struct lockf *lock)
printf("\n");
return;
}
- printf(", %s %p %s, start %llx, end %llx",
+ printf(", %s %p %s, start %lld, end %lld",
lock->lf_flags & F_POSIX ? "posix" : "flock",
lock->lf_id,
lock->lf_type == F_RDLCK ? "shared" :