diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-04-01 13:26:26 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-04-01 13:26:26 +0000 |
commit | 8a6e9ec085ff08a106ec7e143df03fd46c1431f3 (patch) | |
tree | 96aa61c1f5dd2040f43ea05bfd18aa7e1c319b3b /ext | |
parent | cc8bc6b7b6cb429c6a0a4bebc180b70b564e4e99 (diff) | |
download | ruby-8a6e9ec085ff08a106ec7e143df03fd46c1431f3.tar.gz |
* 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')
-rw-r--r-- | ext/syslog/syslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/syslog/syslog.c b/ext/syslog/syslog.c index 3c3c68f3a3..e72eb930ff 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; \ } |