Commit b31b128a authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

simplify

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3943 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 1 addition and 2 deletions
+1 -2
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment