diff --git a/sys/sys/callout.h b/sys/sys/callout.h index 536a0c54c8e5..f5c75ecc25ee 100644 --- a/sys/sys/callout.h +++ b/sys/sys/callout.h @@ -71,8 +71,8 @@ void _callout_init_lock(struct callout *, struct lock_object *, int); #define callout_init_mtx(c, mtx, flags) \ _callout_init_lock((c), ((mtx) != NULL) ? &(mtx)->lock_object : \ NULL, (flags)) -#define callout_init_rm(c, rm, flags) - _callout_init_lock((c), ((rm != NULL) ? &(rm)->lock_object : \ +#define callout_init_rm(c, rm, flags) \ + _callout_init_lock((c), ((rm != NULL) ? &(rm)->lock_object : \ NULL, (flags)) #define callout_init_rw(c, rw, flags) \ _callout_init_lock((c), ((rw) != NULL) ? &(rw)->lock_object : \