diff options
author | davide <davide@FreeBSD.org> | 2013-08-23 14:40:17 +0000 |
---|---|---|
committer | davide <davide@FreeBSD.org> | 2013-08-23 14:40:17 +0000 |
commit | 6c1cec4482abd78d3143db210d822d10b25cfc65 (patch) | |
tree | ea87bde7bfb04b21537ac538a903fbdfcf8859e1 /sys/sys/callout.h | |
parent | e1e1d4dae6c7063d4a6e8ef3564f3bfd3344be77 (diff) | |
download | FreeBSD-src-6c1cec4482abd78d3143db210d822d10b25cfc65.zip FreeBSD-src-6c1cec4482abd78d3143db210d822d10b25cfc65.tar.gz |
Fix the build and fix style.
Pointy-hat to: davide
Diffstat (limited to 'sys/sys/callout.h')
-rw-r--r-- | sys/sys/callout.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/callout.h b/sys/sys/callout.h index 536a0c5..f5c75ec 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 : \ |