diff --git a/lib/modules/Array.pmod b/lib/modules/Array.pmod
index b2e98df8b4672b106b4959d04f8a34ccdb7e7a3b..07a8656205c0d3888413c5ba9d5deb8c2b179790 100644
--- a/lib/modules/Array.pmod
+++ b/lib/modules/Array.pmod
@@ -38,7 +38,7 @@ mixed map(mixed arr, mixed fun, mixed ... args)
     return ret;
 
   default:
-    error("Bad argument 2 to map_array().\n");
+    error("Bad argument 2 to Array.map().\n");
   }
 }