diff options
author | anton <anton@cvs.openbsd.org> | 2019-04-20 14:13:12 +0000 |
---|---|---|
committer | anton <anton@cvs.openbsd.org> | 2019-04-20 14:13:12 +0000 |
commit | 5ddf7e8d09a3022ad96f88f8bdf8b1df52c98c9e (patch) | |
tree | 2e7bdd7795cb4ac8c26c83edfe4081d5dfc2d389 | |
parent | 062eb201297d2345e49cc001cec4a1a69dc914b8 (diff) |
print locked range in decimal in debug routines
-rw-r--r-- | sys/kern/vfs_lockf.c | 4 |
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" : |