diff options
author | Davide Italiano <davide@FreeBSD.org> | 2013-08-23 14:40:17 +0000 |
---|---|---|
committer | Davide Italiano <davide@FreeBSD.org> | 2013-08-23 14:40:17 +0000 |
commit | 286026fc8521751cb600c0ca7911a4b0f81090be (patch) | |
tree | ea87bde7bfb04b21537ac538a903fbdfcf8859e1 /sys/sys/callout.h | |
parent | 05869c0ea7c0c07b620df71a3350661548081909 (diff) | |
download | src-286026fc8521751cb600c0ca7911a4b0f81090be.tar.gz src-286026fc8521751cb600c0ca7911a4b0f81090be.zip |
Fix the build and fix style.
Pointy-hat to: davide
Notes
Notes:
svn path=/head/; revision=254712
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 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 : \ |