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