Skip to content

Commit 54cef26

Browse files
committed
vexos: improve error message when opening files in RW mode
1 parent c0353be commit 54cef26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sys/fs/vexos.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ impl File {
214214
(true, true, _, _, _, _) => {
215215
return Err(io::Error::new(
216216
io::ErrorKind::InvalidInput,
217-
"Opening files in both read and write mode is unsupported",
217+
"Opening files with read and write access is unsupported on this target",
218218
));
219219
}
220220

0 commit comments

Comments
 (0)