summaryrefslogtreecommitdiffstats
path: root/src/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/channel.c')
-rw-r--r--src/channel.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/channel.c b/src/channel.c
index 7514d63855..634312412c 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -1210,7 +1210,8 @@ channel_set_options(channel_T *channel, jobopt_T *opt)
{
buf = buflist_findnr(opt->jo_io_buf[PART_OUT]);
if (buf == NULL)
- semsg(_(e_nobufnr), (long)opt->jo_io_buf[PART_OUT]);
+ semsg(_(e_buffer_nr_does_not_exist),
+ (long)opt->jo_io_buf[PART_OUT]);
}
else
{
@@ -1257,7 +1258,8 @@ channel_set_options(channel_T *channel, jobopt_T *opt)
{
buf = buflist_findnr(opt->jo_io_buf[PART_ERR]);
if (buf == NULL)
- semsg(_(e_nobufnr), (long)opt->jo_io_buf[PART_ERR]);
+ semsg(_(e_buffer_nr_does_not_exist),
+ (long)opt->jo_io_buf[PART_ERR]);
}
else
{