diff --git a/ext/hbsdctl.rb/ffi.c b/ext/hbsdctl.rb/ffi.c index bbca274..bd34d0d 100644 --- a/ext/hbsdctl.rb/ffi.c +++ b/ext/hbsdctl.rb/ffi.c @@ -70,8 +70,8 @@ ffi_status(VALUE self, VALUE rb_feature, VALUE rb_path) int ns; options = __options_init(rb_feature, rb_path); - if (extattr_string_to_ns("system", &ns) == -1) { - rb_syserr_fail(errno, "extattr_string_to_ns"); + if (extattr_string_to_namespace("system", &ns) == -1) { + rb_syserr_fail(errno, "extattr_string_to_namespace"); } if ( extattr_get_file(