summaryrefslogtreecommitdiff
path: root/src/memfile.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-02 17:00:40 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-02 17:00:40 +0000
commiteaaac014a01ce37c1f86dbda054c01a5c6f034e7 (patch)
treeb775ac0b4332e8f73bc763ed1414f73639c187d6 /src/memfile.c
parent8bfa0eb863357c1013024233ebb2e95a0a848002 (diff)
downloadvim-git-eaaac014a01ce37c1f86dbda054c01a5c6f034e7.tar.gz
patch 8.2.3983: error messages are spread outv8.2.3983
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/memfile.c')
-rw-r--r--src/memfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memfile.c b/src/memfile.c
index 4e8decbda..b5ab2d9b1 100644
--- a/src/memfile.c
+++ b/src/memfile.c
@@ -1264,7 +1264,7 @@ mf_do_open(
if ((flags & O_CREAT) && mch_lstat((char *)mfp->mf_fname, &sb) >= 0)
{
mfp->mf_fd = -1;
- emsg(_("E300: Swap file already exists (symlink attack?)"));
+ emsg(_(e_swap_file_already_exists_symlink_attack));
}
else
#endif