aboutsummaryrefslogtreecommitdiffstats
path: root/g10/plaintext.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/plaintext.c')
-rw-r--r--g10/plaintext.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/g10/plaintext.c b/g10/plaintext.c
index f883f4a73..b559a90b2 100644
--- a/g10/plaintext.c
+++ b/g10/plaintext.c
@@ -105,8 +105,12 @@ handle_plaintext( PKT_plaintext *pt, md_filter_context_t *mfx,
if( fp || nooutput )
;
else if( !(fp = fopen(fname,"wb")) ) {
- log_error("Error creating `%s': %s\n", fname, strerror(errno) );
+ log_error(_("error creating `%s': %s\n"), fname, strerror(errno) );
rc = G10ERR_CREATE_FILE;
+#ifdef __riscos__
+ if (errno == 106)
+ log_info("perhaps the output file has the same name as the input file?\n");
+#endif /* __riscos__ */
goto leave;
}