diff --git a/src/unix/lwt_bytes.ml b/src/unix/lwt_bytes.ml index 7c6ddcaa3..e9c7b9466 100644 --- a/src/unix/lwt_bytes.ml +++ b/src/unix/lwt_bytes.ml @@ -41,7 +41,7 @@ let blit_from_string src_buf src_ofs dst_buf dst_ofs len = if (len < 0 || src_ofs < 0 || src_ofs > String.length src_buf - len || dst_ofs < 0 || dst_ofs > length dst_buf - len) then - invalid_arg "Lwt_bytes.blit_from_bytes" + invalid_arg "Lwt_bytes.blit_from_string" else unsafe_blit_from_string src_buf src_ofs dst_buf dst_ofs len