Skip to content

Commit 580ac6a

Browse files
authored
Fix whitespace error in printing quoted paths (#5469)
This fixes #5468. --- TYPE: BUG DESCRIPTION: Fix whitespace error in printing quoted paths
1 parent 8174190 commit 580ac6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tiledb/sm/filesystem/posix.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,12 +290,12 @@ void Posix::read(
290290
}
291291
if (offset > static_cast<uint64_t>(std::numeric_limits<off_t>::max())) {
292292
throw IOError(
293-
std::string("Cannot read from file ' ") + path.c_str() +
293+
std::string("Cannot read from file '") + path.c_str() +
294294
"'; offset > typemax(off_t)");
295295
}
296296
if (nbytes > SSIZE_MAX) {
297297
throw IOError(
298-
std::string("Cannot read from file ' ") + path +
298+
std::string("Cannot read from file '") + path +
299299
"'; nbytes > SSIZE_MAX");
300300
}
301301
throw_if_not_ok(read_all(fd, buffer, nbytes, offset));

0 commit comments

Comments
 (0)