Permalink
Browse files

Fix typo in CallFrame::print_backtrace.

  • Loading branch information...
xiw authored and pwnall committed Sep 28, 2012
1 parent d8f1f0e commit 6f0da8be988a31e2865bdeae81c516bed8e838ae
Showing with 1 addition and 1 deletion.
  1. +1 −1 vm/call_frame.cpp
View
@@ -83,7 +83,7 @@ namespace rubinius {
if(NativeMethodFrame* nmf = cf->native_method_frame()) {
NativeMethod* nm = try_as<NativeMethod>(nmf->get_object(nmf->method()));
- if(nm || !nm->name()->symbol_p()) {
+ if(nm && !nm->name()->symbol_p()) {
stream << "capi:" << nm->name()->debug_str(state) << " at ";
stream << nm->file()->c_str(state);
} else {

0 comments on commit 6f0da8b

Please sign in to comment.