summaryrefslogtreecommitdiff
path: root/ext/syslog
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-04-01 13:26:26 (GMT)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-04-01 13:26:26 (GMT)
commit8a6e9ec085ff08a106ec7e143df03fd46c1431f3 (patch)
tree96aa61c1f5dd2040f43ea05bfd18aa7e1c319b3b /ext/syslog
parentcc8bc6b7b6cb429c6a0a4bebc180b70b564e4e99 (diff)
* ext/syslog/syslog.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syslog')
-rw-r--r--ext/syslog/syslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/syslog/syslog.c b/ext/syslog/syslog.c
index 3c3c68f..e72eb93 100644
--- a/ext/syslog/syslog.c
+++ b/ext/syslog/syslog.c
@@ -333,7 +333,7 @@ static VALUE mSyslog_instance(VALUE self)
#define define_syslog_shortcut_method(pri, name) \
static VALUE mSyslog_##name(int argc, VALUE *argv, VALUE self) \
{ \
- syslog_write(pri, argc, argv); \
+ syslog_write((pri), argc, argv); \
\
return self; \
}