diff --git a/test/syscalls/linux/sendfile.cc b/test/syscalls/linux/sendfile.cc index 8afa2aef7..9509f8c45 100644 --- a/test/syscalls/linux/sendfile.cc +++ b/test/syscalls/linux/sendfile.cc @@ -634,7 +634,7 @@ TEST(SendFileTest, SendFileToSelf) { TEST(SendFileTest, LargeCount) { // Create input file with some wisdom. It is imperative to use a // Shakespearean quote, consistent with the rest of this file. - constexpr std::string_view kData = + constexpr absl::string_view kData = "We know what we are, but know not what we may be."; const TempPath in_file = ASSERT_NO_ERRNO_AND_VALUE(TempPath::CreateFileWith( GetAbsoluteTestTmpdir(), kData, TempPath::kDefaultFileMode));