This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH COMMITTED] __netlink_assert_response: Add more __libc_fatal newlines [BZ #20271]
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Fri, 01 Mar 2019 12:27:24 +0100
- Subject: [PATCH COMMITTED] __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.
Committed.
2019-03-01 Florian Weimer <fweimer@redhat.com>
[BZ #20271]
* sysdeps/unix/sysv/linux/netlink_assert_response.c
(__netlink_assert_response): Add additional missing newlines.
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);
}