|
|
00db10 |
Add missing newlines to __libc_fatal error messages. This was
|
|
|
00db10 |
implemented upstream in commits a6e8926f8d49a213a9abb1a61f6af964f612ab7f
|
|
|
00db10 |
("[BZ #20271] Add newlines in __libc_fatal calls.") and
|
|
|
00db10 |
36f30c104fe3addd4d864e276202c6b934f825b7
|
|
|
00db10 |
("__netlink_assert_response: Add more __libc_fatal newlines [BZ #20271]").
|
|
|
00db10 |
|
|
|
00db10 |
diff --git a/sysdeps/unix/sysv/linux/netlink_assert_response.c b/sysdeps/unix/sysv/linux/netlink_assert_response.c
|
|
|
00db10 |
index b570e93db840fec1..434b50d20b67d130 100644
|
|
|
00db10 |
--- a/sysdeps/unix/sysv/linux/netlink_assert_response.c
|
|
|
00db10 |
+++ b/sysdeps/unix/sysv/linux/netlink_assert_response.c
|
|
|
00db10 |
@@ -73,12 +73,12 @@ __netlink_assert_response (int fd, ssize_t result)
|
|
|
00db10 |
char message[200];
|
|
|
00db10 |
if (family < 0)
|
|
|
00db10 |
__snprintf (message, sizeof (message),
|
|
|
00db10 |
- "Unexpected error %d on netlink descriptor %d",
|
|
|
00db10 |
+ "Unexpected error %d on netlink descriptor %d\n",
|
|
|
00db10 |
error_code, fd);
|
|
|
00db10 |
else
|
|
|
00db10 |
__snprintf (message, sizeof (message),
|
|
|
00db10 |
"Unexpected error %d on netlink descriptor %d"
|
|
|
00db10 |
- " (address family %d)",
|
|
|
00db10 |
+ " (address family %d)\n",
|
|
|
00db10 |
error_code, fd, family);
|
|
|
00db10 |
__libc_fatal (message);
|
|
|
00db10 |
}
|
|
|
00db10 |
@@ -93,12 +93,12 @@ __netlink_assert_response (int fd, ssize_t result)
|
|
|
00db10 |
if (family < 0)
|
|
|
00db10 |
__snprintf (message, sizeof (message),
|
|
|
00db10 |
"Unexpected netlink response of size %zd"
|
|
|
00db10 |
- " on descriptor %d",
|
|
|
00db10 |
+ " on descriptor %d\n",
|
|
|
00db10 |
result, fd);
|
|
|
00db10 |
else
|
|
|
00db10 |
__snprintf (message, sizeof (message),
|
|
|
00db10 |
"Unexpected netlink response of size %zd"
|
|
|
00db10 |
- " on descriptor %d (address family %d)",
|
|
|
00db10 |
+ " on descriptor %d (address family %d)\n",
|
|
|
00db10 |
result, fd, family);
|
|
|
00db10 |
__libc_fatal (message);
|
|
|
00db10 |
}
|