diff options
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/runtime/go-caller.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libgo/runtime/go-caller.c b/libgo/runtime/go-caller.c index 7d5df85..8d8fe4c 100644 --- a/libgo/runtime/go-caller.c +++ b/libgo/runtime/go-caller.c @@ -172,7 +172,8 @@ Caller (int skip) if (n < 1) return ret; ret.pc = pc; - ret.ok = __go_file_line (pc, &fn, &ret.file, &ret.line); + __go_file_line (pc, &fn, &ret.file, &ret.line); + ret.ok = 1; return ret; } |