X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a753601a3811c10e433dbb04d8211a3df4b99012..1524cb8c0b86a854149d7859d6a2503d61dbaa36:/sbr/folder_addmsg.c diff --git a/sbr/folder_addmsg.c b/sbr/folder_addmsg.c index 1af116cb..f90cedfb 100644 --- a/sbr/folder_addmsg.c +++ b/sbr/folder_addmsg.c @@ -180,11 +180,11 @@ folder_addmsg (struct msgs **mpp, char *msgfile, int selected, */ if (linkerr == EXDEV) { if (stat (newmsg, &st1) == 0) { - advise (NULL, "message %s:%s already exists", newmsg); + advise (NULL, "message %s:%s already exists", mp->foldpath, newmsg); return -1; } else { if ((infd = open (msgfile, O_RDONLY)) == -1) { - advise (msgfile, "unable to open message %s"); + advise (msgfile, "unable to open message %s", msgfile); return -1; } fstat (infd, &st1);