Skip to content

Commit aea35ab

Browse files
committed
[libc] Fix GPU test build error
This fixes a build error on the AMDGPU buildbot introduced in PR #92172
1 parent f39e75b commit aea35ab

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

libc/src/__support/StringUtil/tables/stdc_errors.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@
1515

1616
namespace LIBC_NAMESPACE {
1717

18-
LIBC_INLINE_VAR constexpr const MsgTable<4> STDC_ERRORS = {
18+
LIBC_INLINE_VAR constexpr const MsgTable<3> STDC_ERRORS = {
1919
MsgMapping(0, "Success"),
2020
MsgMapping(EDOM, "Numerical argument out of domain"),
2121
MsgMapping(ERANGE, "Numerical result out of range"),
22-
MsgMapping(EILSEQ, "Invalid or incomplete multibyte or wide character"),
2322
};
2423

2524
} // namespace LIBC_NAMESPACE

libc/test/src/string/strerror_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ TEST(LlvmLibcStrErrorTest, KnownErrors) {
9797
".lib section in a.out corrupted",
9898
"Attempting to link in too many shared libraries",
9999
"Cannot exec a shared library directly",
100-
"Invalid or incomplete multibyte or wide character",
100+
"Unknown Error 84", // Unknown
101101
"Interrupted system call should be restarted",
102102
"Streams pipe error",
103103
"Too many users",

0 commit comments

Comments
 (0)