summaryrefslogtreecommitdiffstats
path: root/g10/keyedit.c
diff options
context:
space:
mode:
authorIngo Klöcker <dev@ingo-kloecker.de>2022-04-22 09:57:38 +0200
committerIngo Klöcker <dev@ingo-kloecker.de>2022-04-22 10:10:36 +0200
commit8b3a24e5176f64b101d2b073f2901852d8ecc691 (patch)
tree6fae6d10f7c5d7cade87aa2ed4f46642307b5c87 /g10/keyedit.c
parentagent: Not writing password into file. (diff)
downloadgnupg2-8b3a24e5176f64b101d2b073f2901852d8ecc691.tar.xz
gnupg2-8b3a24e5176f64b101d2b073f2901852d8ecc691.zip
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.
Diffstat (limited to '')
-rw-r--r--g10/keyedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c
index 122548df5..9b76b53ca 100644
--- a/g10/keyedit.c
+++ b/g10/keyedit.c
@@ -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;
}