Laszlo Ersek
2022-Jan-18 13:48 UTC
[Libguestfs] [nbdkit PATCH 1/2] server/sockets: supply trailing newline for gai_strerror() format string
Signed-off-by: Laszlo Ersek <lersek at redhat.com> --- server/sockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sockets.c b/server/sockets.c index edfb7428cd08..45b6b1c49110 100644 --- a/server/sockets.c +++ b/server/sockets.c @@ -184,7 +184,7 @@ bind_tcpip_socket (sockets *socks) err = getaddrinfo (ipaddr, port, &hints, &ai); if (err != 0) { - fprintf (stderr, "%s: getaddrinfo: %s: %s: %s", + fprintf (stderr, "%s: getaddrinfo: %s: %s: %s\n", program_name, ipaddr ? ipaddr : "<any>", port, -- 2.19.1.3.g30247aa5d201
Eric Blake
2022-Jan-18 17:07 UTC
[Libguestfs] [nbdkit PATCH 1/2] server/sockets: supply trailing newline for gai_strerror() format string
On Tue, Jan 18, 2022 at 02:48:32PM +0100, Laszlo Ersek wrote:> Signed-off-by: Laszlo Ersek <lersek at redhat.com> > ---May be worth adding: Fixes: 999797bad ("Implement nbdkit server.", v0.1.0) -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org