From: Florian Weimer Date: Fri, 1 Mar 2019 11:21:20 +0000 (+0100) Subject: __netlink_assert_response: Add more __libc_fatal newlines [BZ #20271] X-Git-Tag: glibc-2.30~314 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=36f30c104fe3addd4d864e276202c6b934f825b7;p=glibc.git __netlink_assert_response: Add more __libc_fatal newlines [BZ #20271] Commit a6e8926f8d49a213a9abb1a61f6af964f612ab7f ("[BZ #20271] Add newlines in __libc_fatal calls.") missed two places that need changing. --- diff --git a/ChangeLog b/ChangeLog index d3049397b8..92615ed339 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2019-03-01 Florian Weimer + + [BZ #20271] + * sysdeps/unix/sysv/linux/netlink_assert_response.c + (__netlink_assert_response): Add additional missing newlines. + 2019-02-28 Joseph Myers * sysdeps/powerpc/powerpc32/dl-machine.c diff --git a/sysdeps/unix/sysv/linux/netlink_assert_response.c b/sysdeps/unix/sysv/linux/netlink_assert_response.c index b86c246341..6e0fa8756a 100644 --- a/sysdeps/unix/sysv/linux/netlink_assert_response.c +++ b/sysdeps/unix/sysv/linux/netlink_assert_response.c @@ -92,12 +92,12 @@ __netlink_assert_response (int fd, ssize_t result) if (family < 0) __snprintf (message, sizeof (message), "Unexpected netlink response of size %zd" - " on descriptor %d", + " on descriptor %d\n", result, fd); else __snprintf (message, sizeof (message), "Unexpected netlink response of size %zd" - " on descriptor %d (address family %d)", + " on descriptor %d (address family %d)\n", result, fd, family); __libc_fatal (message); }