summaryrefslogtreecommitdiff
path: root/flang-rt/lib/runtime/io-error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'flang-rt/lib/runtime/io-error.cpp')
-rw-r--r--flang-rt/lib/runtime/io-error.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/flang-rt/lib/runtime/io-error.cpp b/flang-rt/lib/runtime/io-error.cpp
index b350fb66fc25..0774b014e98f 100644
--- a/flang-rt/lib/runtime/io-error.cpp
+++ b/flang-rt/lib/runtime/io-error.cpp
@@ -153,7 +153,7 @@ bool IoErrorHandler::GetIoMsg(char *buffer, std::size_t bufferLength) {
} else if (ok) {
std::size_t copied{Fortran::runtime::strlen(buffer)};
if (copied < bufferLength) {
- std::memset(buffer + copied, ' ', bufferLength - copied);
+ runtime::memset(buffer + copied, ' ', bufferLength - copied);
}
return true;
} else {