summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream.c b/stream.c
index c0362f3f..0c6af9ec 100644
--- a/stream.c
+++ b/stream.c
@@ -1060,7 +1060,7 @@ static FILE *w_fopen_mode(const wchar_t *wname, const wchar_t *mode,
#else
if (m.notrunc)
uw_throwf(file_error_s,
- lit("open-file: system doesn't support \"o\" mode"), nao);
+ lit("open-file: \"m\" mode not supported on this system"), nao);
#endif
return w_fopen(wname, mode);
}