Skip to content

Commit

Permalink
Addressing compiler warning that becomes an error on hardened Debian …
Browse files Browse the repository at this point in the history
…systems. #680.
  • Loading branch information
flavorjones committed Jun 7, 2012
1 parent a22d403 commit 786a42c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/nokogiri/xml_xpath_context.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ static void xpath_generic_exception_handler(void * ctx, const char *msg, ...)
vasprintf(&message, msg, args);
va_end(args);

rb_raise(rb_eRuntimeError, message);
rb_raise(rb_eRuntimeError, "%s", message);
}

/*
Expand Down

0 comments on commit 786a42c

Please sign in to comment.