in open_file(), remove redundant wording in the error message when we

try to open a device file


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3358 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey
2006-04-06 22:57:22 +00:00
parent f6287eaf54
commit 8055f0935f
2 changed files with 4 additions and 1 deletions

View File

@@ -603,7 +603,7 @@ int open_file(const char *filename, bool newfie, FILE **f)
* Sorry, /dev/sndstat! */
statusbar(S_ISDIR(fileinfo.st_mode) ?
_("\"%s\" is a directory") :
_("File \"%s\" is a device file"), filename);
_("\"%s\" is a device file"), filename);
beep();
return -1;
} else if ((fd = open(filename, O_RDONLY)) == -1) {