vm_object: Fix the argument type to vm_object_set_flag()

Reported by:	kib
Fixes:		9d52823bf1 ("vm_object: Widen the flags field")
This commit is contained in:
Mark Johnston 2024-10-06 22:54:13 +00:00
parent 9147a0c93b
commit 7f1dfd6c33

View file

@ -283,7 +283,7 @@ struct vnode;
* The object must be locked or thread private.
*/
static __inline void
vm_object_set_flag(vm_object_t object, u_short bits)
vm_object_set_flag(vm_object_t object, u_int bits)
{
object->flags |= bits;