diff options
Diffstat (limited to 'src/filepath.c')
-rw-r--r-- | src/filepath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filepath.c b/src/filepath.c index f4bddf859..a9edf7d88 100644 --- a/src/filepath.c +++ b/src/filepath.c @@ -842,7 +842,7 @@ f_delete(typval_T *argvars, typval_T *rettv) name = tv_get_string(&argvars[0]); if (name == NULL || *name == NUL) { - emsg(_(e_invarg)); + emsg(_(e_invalid_argument)); return; } @@ -2267,7 +2267,7 @@ f_writefile(typval_T *argvars, typval_T *rettv) } else { - semsg(_(e_invarg2), + semsg(_(e_invalid_argument_str), _("writefile() first argument must be a List or a Blob")); return; } |