Provide ErrorBadParamsToCopyContiguousContainerAnnotations a more cor… (#139870)

…rect 'reason' when constructing ErrorBase

Co-authored-by: Tacet <advenam.tacet@gmail.com>
GitOrigin-RevId: 492089e097d14e1605f76bf2c912cb7e0256b005
diff --git a/lib/asan/asan_errors.h b/lib/asan/asan_errors.h
index b3af655..f339b35 100644
--- a/lib/asan/asan_errors.h
+++ b/lib/asan/asan_errors.h
@@ -362,7 +362,7 @@
       u32 tid, BufferedStackTrace *stack_, uptr old_storage_beg_,
       uptr old_storage_end_, uptr new_storage_beg_, uptr new_storage_end_)
       : ErrorBase(tid, 10,
-                  "bad-__sanitizer_annotate_double_ended_contiguous_container"),
+                  "bad-__sanitizer_copy_contiguous_container_annotations"),
         stack(stack_),
         old_storage_beg(old_storage_beg_),
         old_storage_end(old_storage_end_),