Skip to content

Commit d5f5f1d

Browse files
committed
adjust error message for FRESULT::FR_INT_ERR
1 parent 8eaaeca commit d5f5f1d

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/pal/vexos

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ fn map_fresult(fresult: vex_sdk::FRESULT) -> io::Result<()> {
498498
)),
499499
vex_sdk::FRESULT::FR_INT_ERR => Err(io::Error::new(
500500
io::ErrorKind::Uncategorized,
501-
"assertion failed and an insanity is detected in the internal process",
501+
"internal error in filesystem runtime",
502502
)),
503503
vex_sdk::FRESULT::FR_NOT_READY => Err(io::Error::new(
504504
io::ErrorKind::Uncategorized,

0 commit comments

Comments
 (0)