git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3943 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey 2006-11-08 01:02:13 +00:00
parent b24cb0cd19
commit b31b128a78
1 changed files with 1 additions and 2 deletions

View File

@ -1886,9 +1886,8 @@ int do_writeout(bool exiting)
* an existing file. In this case, show a "File
* exists" error. */
if (ISSET(RESTRICTED)) {
errno = EEXIST;
statusbar(_("Error writing %s: %s"), answer,
strerror(errno));
strerror(EEXIST));
retval = -1;
break;
} else {