summaryrefslogtreecommitdiff
path: root/test/src/sched/cpu_count_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/sched/cpu_count_test.cpp')
-rw-r--r--test/src/sched/cpu_count_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/sched/cpu_count_test.cpp b/test/src/sched/cpu_count_test.cpp
index ca3e80818a5c..5250368a2616 100644
--- a/test/src/sched/cpu_count_test.cpp
+++ b/test/src/sched/cpu_count_test.cpp
@@ -17,7 +17,7 @@
TEST(LlvmLibcSchedCpuCountTest, SmokeTest) {
cpu_set_t mask;
- libc_errno = 0;
+ LIBC_NAMESPACE::libc_errno = 0;
using LIBC_NAMESPACE::testing::ErrnoSetterMatcher::Succeeds;
pid_t tid = LIBC_NAMESPACE::syscall_impl<pid_t>(SYS_gettid);
ASSERT_GT(tid, pid_t(0));