Tweak error messages so that file name isn't modified when we capitalize

the first letter, from Pavel Roskin in GitHub issue 4666.
This commit is contained in:
nicm
2025-10-28 07:32:26 +00:00
parent f31a2d229c
commit aa420cd54a
3 changed files with 4 additions and 4 deletions

View File

@@ -66,7 +66,7 @@ cmd_load_buffer_done(__unused struct client *c, const char *path, int error,
return;
if (error != 0)
cmdq_error(item, "%s: %s", path, strerror(error));
cmdq_error(item, "%s: %s", strerror(error), path);
else if (bsize != 0) {
copy = xmalloc(bsize);
memcpy(copy, bdata, bsize);