diff --git a/ghc/tests/ccall/should_fail/cc004.stderr b/ghc/tests/ccall/should_fail/cc004.stderr
index 314eca09cdeb47e8cf3c3c32766a176cdea94d18..2f2d664ff0538e095d74b048957a838a61d0dc2a 100644
--- a/ghc/tests/ccall/should_fail/cc004.stderr
+++ b/ghc/tests/ccall/should_fail/cc004.stderr
@@ -5,7 +5,7 @@ cc004.hs:2:
 
 cc004.hs:2:
     Cannot generalise these overloadings (in a _ccall_):
-	`CReturnable b' arising from the result of the _ccall_ to `f' at cc004.hs:15
+	`CReturnable t_aGM' arising from the result of the _ccall_ to `f' at cc004.hs:15
 
 Compilation had errors