diff --git a/src/elogd.c b/src/elogd.c index 97492c78..e4cd6043 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -13513,9 +13513,9 @@ void show_elog_delete(LOGBOOK * lbs, int message_id) NULL, NULL, NULL, NULL, NULL); if (!is_author(lbs, attrib, owner)) { - sprintf(str, loc("Only user %s can delete this entry"), owner); - strencode2(str2, str, sizeof(str2)); - show_error(str2); + strencode2(str2, owner, sizeof(str2)); + sprintf(str, loc("Only user %s can delete this entry"), str2); + show_error(str); return; } }