On Tue, Apr 18, 2023 at 07:26:18PM +0200, Laszlo Ersek wrote:
Rewrap some error messages to keep the source code width at most 80
chars.
Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=2172516
Signed-off-by: Laszlo Ersek <lersek(a)redhat.com>
---
generator/states-magic.c | 3 ++-
generator/states-newstyle-opt-go.c | 12 ++++++++----
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/generator/states-magic.c b/generator/states-magic.c
index b06057b5acd8..7928959ff86c 100644
--- a/generator/states-magic.c
+++ b/generator/states-magic.c
@@ -53,7 +53,8 @@ MAGIC.CHECK_MAGIC:
}
else {
SET_NEXT_STATE (%.DEAD);
- set_error (0, "handshake: server is not either an oldstyle or fixed newstyle
NBD server");
+ set_error (0, "handshake: server is not either an oldstyle or fixed "
+ "newstyle NBD server");
The term 'fixed newstyle' has enough relevance on its own in the
protocol that I might wrap one word earlier to keep that phrasing
together; but I'm not opposed to your patch going in as-is.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization:
qemu.org |
libvirt.org