aboutsummaryrefslogtreecommitdiff
path: root/ruby/paludis_ruby.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/paludis_ruby.cc')
-rw-r--r--ruby/paludis_ruby.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby/paludis_ruby.cc b/ruby/paludis_ruby.cc
index a69ca2c44..587601c78 100644
--- a/ruby/paludis_ruby.cc
+++ b/ruby/paludis_ruby.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011 Ciaran McCreesh
+ * Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2013 Ciaran McCreesh
* Copyright (c) 2006, 2007, 2008 Richard Brown
*
* This file is part of the Paludis package manager. Paludis is free software;
@@ -387,7 +387,7 @@ paludis::ruby::value_to_match_package_options(VALUE v)
if (SYM2ID(entry) == rb_intern("ignore_additional_requirements"))
o += mpo_ignore_additional_requirements;
else
- rb_raise(rb_eArgError, "Unknown MatchPackageOptions option '%s'", rb_obj_as_string(entry));
+ rb_raise(rb_eArgError, "Unknown MatchPackageOptions option '%s'", RSTRING_PTR(rb_obj_as_string(entry)));
}
return o;
}