From b31b128a780cae1af81053783a16b6597421bb11 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Wed, 8 Nov 2006 01:02:13 +0000 Subject: [PATCH] simplify git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3943 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/files.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/files.c b/src/files.c index 210ae60c..1358a95f 100644 --- a/src/files.c +++ b/src/files.c @@ -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 { -- 2.39.5