runtime: Fix printing of names in stack dumps.

From-SVN: r188297
This commit is contained in:
Ian Lance Taylor 2012-06-07 06:34:52 +00:00
parent c59a4d0fa6
commit f3dbbfcedf
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ runtime_printtrace (uintptr *pcbuf, int32 c)
if (__go_file_line (pcbuf[i], &fn, &file, &line)
&& runtime_showframe (fn.__data))
{
runtime_printf ("%s\n", fn.__data);
runtime_printf ("\t%s:%d\n", file.__data, line);
runtime_printf ("%S\n", fn);
runtime_printf ("\t%S:%d\n", file, line);
}
}
}