diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2015-09-18 10:47:33 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2015-09-18 10:57:29 +0800 |
commit | 726da52f8305382b07c63575f956793c6932566a (patch) | |
tree | d6608425f048e8376ed94bb1f7f8c98af9856aa3 /discover/device-handler.c | |
parent | 6bb8924cacad4cb1112cd827bacf19bd8abaf4c4 (diff) | |
download | talos-petitboot-726da52f8305382b07c63575f956793c6932566a.tar.gz talos-petitboot-726da52f8305382b07c63575f956793c6932566a.zip |
discover: status messages shouldn't have a trailing newline
Fix the status message, and remove the newline from our translations.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/device-handler.c')
-rw-r--r-- | discover/device-handler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discover/device-handler.c b/discover/device-handler.c index 9868e51..bfe5fff 100644 --- a/discover/device-handler.c +++ b/discover/device-handler.c @@ -897,7 +897,7 @@ out: * TRANSLATORS: the format specifier in this string is a Linux * device identifier, like 'sda1' */ - status->message = talloc_asprintf(status,_("Processing %s complete\n"), + status->message = talloc_asprintf(status,_("Processing %s complete"), dev->device->id); boot_status(handler, status); @@ -936,7 +936,7 @@ int device_handler_dhcp(struct device_handler *handler, * TRANSLATORS: this format specifier will be the name of a network * device, like 'eth0'. */ - status->message = talloc_asprintf(status,_("Processing %s complete\n"), + status->message = talloc_asprintf(status,_("Processing %s complete"), dev->device->id); boot_status(handler, status); |