diff --git a/compiler/prelude/primops.txt.pp b/compiler/prelude/primops.txt.pp
index 29e77b13a6298f2d76d761d2cae783bd8efb0f36..1e87a009021ec7efbeadd03b865522b3bc1f2f1c 100644
--- a/compiler/prelude/primops.txt.pp
+++ b/compiler/prelude/primops.txt.pp
@@ -1430,7 +1430,7 @@ primop  ShrinkMutableByteArrayOp_Char "shrinkMutableByteArray#" GenPrimOp
    MutableByteArray# s -> Int# -> State# s -> State# s
    {Shrink mutable byte array to new specified size (in bytes), in
     the specified state thread. The new size argument must be less than or
-    equal to the current size as reported by {\tt sizeofMutableArray\#}.}
+    equal to the current size as reported by {\tt sizeofMutableByteArray\#}.}
    with out_of_line = True
         has_side_effects = True