aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-03-01 12:21:20 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-03-01 12:21:53 +0100
commit36f30c104fe3addd4d864e276202c6b934f825b7 (patch)
tree94fc4d219ab2483b960175c89cf81b0cf10005cd
parent462e83a4a0757184eeac821ff3fc0a739235bd47 (diff)
downloadglibc-36f30c104fe3addd4d864e276202c6b934f825b7.tar
glibc-36f30c104fe3addd4d864e276202c6b934f825b7.tar.gz
glibc-36f30c104fe3addd4d864e276202c6b934f825b7.tar.bz2
glibc-36f30c104fe3addd4d864e276202c6b934f825b7.zip
__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.
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/unix/sysv/linux/netlink_assert_response.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d3049397b8..92615ed339 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2019-02-28 Joseph Myers <joseph@codesourcery.com>
* 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);
}