diff --git a/libgo/runtime/go-callers.c b/libgo/runtime/go-callers.c index c20dbf356104..9afba62cc992 100644 --- a/libgo/runtime/go-callers.c +++ b/libgo/runtime/go-callers.c @@ -49,7 +49,7 @@ callback (void *data, uintptr_t pc, const char *filename, int lineno, p = strrchr (filename, '/'); if (p == NULL) p = filename; - if (__builtin_strncmp (p, "morestack.S", 11) == 0) + if (__builtin_strncmp (p, "/morestack.S", 12) == 0) return 0; }