From 904479bc1a88a4c278fb5de4b9efe5a32295384f Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Wed, 2 Oct 2024 14:39:34 +0200 Subject: [PATCH] Prettier output --- nmrp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nmrp.c b/nmrp.c index 491088b..2f79e78 100644 --- a/nmrp.c +++ b/nmrp.c @@ -592,13 +592,13 @@ int nmrp_do(struct nmrpd_args *args) /* because we don't want nmrpflash's exit status to be zero */ status = 1; if ((time_monotonic() - beg) >= timeout) { - printf("\nNo response after %d seconds.\n", timeout); + printf("\nNo response after %d seconds. ", timeout); if (!args->blind || !was_plugged_in) { - printf("Bailing out"); if (!was_plugged_in) { - printf(" (Ethernet cable still unplugged)"); + printf("Ethernet cable unplugged. "); } - printf(".\n"); + + printf("Bailing out.\n"); goto out; } else { // we're blind, so fake a response from the MAC specified by -m