summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorScott Soule Cheloha <cheloha@cvs.openbsd.org>2021-12-07 02:58:47 +0000
committerScott Soule Cheloha <cheloha@cvs.openbsd.org>2021-12-07 02:58:47 +0000
commit6f5f0e279d15cbd44048fae894a5a8b565dcdbf8 (patch)
tree1447effda89b8748128faf463af01f5c37dde3d7 /sys
parent8555e51e3db8c3e12459dddbfa6e478b93e55bc3 (diff)
uvn_reference(): correct printf(9) argument order
Thread: https://marc.info/?l=openbsd-tech&m=163884527530326&w=2 ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/uvm/uvm_vnode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_vnode.c b/sys/uvm/uvm_vnode.c
index 3cbdd5222b6..ed1ba9fc870 100644
--- a/sys/uvm/uvm_vnode.c
+++ b/sys/uvm/uvm_vnode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_vnode.c,v 1.119 2021/10/23 14:42:08 mpi Exp $ */
+/* $OpenBSD: uvm_vnode.c,v 1.120 2021/12/07 02:58:46 cheloha Exp $ */
/* $NetBSD: uvm_vnode.c,v 1.36 2000/11/24 20:34:01 chs Exp $ */
/*
@@ -275,8 +275,8 @@ uvn_reference(struct uvm_object *uobj)
#ifdef DEBUG
if ((uvn->u_flags & UVM_VNODE_VALID) == 0) {
- printf("uvn_reference: ref=%d, flags=0x%x\n", uvn->u_flags,
- uobj->uo_refs);
+ printf("uvn_reference: ref=%d, flags=0x%x\n",
+ uobj->uo_refs, uvn->u_flags);
panic("uvn_reference: invalid state");
}
#endif