summaryrefslogtreecommitdiffstats
path: root/discover/device-handler.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2015-09-18 10:47:33 +0800
committerJeremy Kerr <jk@ozlabs.org>2015-09-18 10:57:29 +0800
commit726da52f8305382b07c63575f956793c6932566a (patch)
treed6608425f048e8376ed94bb1f7f8c98af9856aa3 /discover/device-handler.c
parent6bb8924cacad4cb1112cd827bacf19bd8abaf4c4 (diff)
downloadtalos-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.c4
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);
OpenPOWER on IntegriCloud