From 280bc112b23976d2f17c07c638bb62702ac89e8a Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Thu, 22 Feb 2024 16:09:42 +0100 Subject: [PATCH] MINOR: [C++] Add missing parenthesis in error message (#40201) Followup to https://github.com/apache/arrow/pull/40176 Authored-by: Antoine Pitrou Signed-off-by: Antoine Pitrou --- cpp/src/arrow/io/file.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/arrow/io/file.cc b/cpp/src/arrow/io/file.cc index 3b18bb7b0f0f4..00426f9957b1f 100644 --- a/cpp/src/arrow/io/file.cc +++ b/cpp/src/arrow/io/file.cc @@ -572,7 +572,7 @@ class MemoryMappedFile::MemoryMap if (static_cast(static_cast(mmap_length)) != mmap_length) { return Status::CapacityError("Requested memory map length ", mmap_length, " does not fit in a C size_t " - "(are you using a 32-bit build of Arrow?"); + "(are you using a 32-bit build of Arrow?)"); } void* result = mmap(nullptr, static_cast(mmap_length), prot_flags_, map_mode_,