diff options
Diffstat (limited to 'ext/syslog')
-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 5bd577caad..43392a3cef 100644 --- a/ext/syslog/syslog.c +++ b/ext/syslog/syslog.c @@ -62,7 +62,7 @@ static VALUE cSyslog_open(int argc, VALUE *argv, VALUE self) fac = INT2NUM(LOG_USER); } - Check_SafeStr(ident); + SafeStringValue(ident); syslog_ident = ident; syslog_options = opt; syslog_facility = fac; |