gpg: Fix line end in error message

* g10/keyedit.c (menu_adduid): Move linefeed character to the format
string.
--

This fixes a literal '\n' in the error message and a missing line feed
after the error message.
This commit is contained in:
Ingo Klöcker 2022-04-22 09:57:38 +02:00
parent e529c54fe3
commit 8b3a24e517
1 changed files with 1 additions and 1 deletions

View File

@ -4270,7 +4270,7 @@ menu_adduid (ctrl_t ctrl, kbnode_t pub_keyblock,
if (uidstring)
{
write_status_error ("adduid", gpg_error (304));
log_error ("%s", _("Such a user ID already exists on this key!\n"));
log_error ("%s\n", _("Such a user ID already exists on this key!"));
}
return 0;
}