__netlink_assert_response: Add more __libc_fatal newlines [BZ #20271]
authorFlorian Weimer <fweimer@redhat.com>
Fri, 1 Mar 2019 11:21:20 +0000 (12:21 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 1 Mar 2019 11:21:53 +0000 (12:21 +0100)
Commit a6e8926f8d49a213a9abb1a61f6af964f612ab7f ("[BZ #20271] Add
newlines in __libc_fatal calls.") missed two places that need
changing.

ChangeLog
sysdeps/unix/sysv/linux/netlink_assert_response.c

index d304939..92615ed 100644 (file)
--- 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
index b86c246..6e0fa87 100644 (file)
@@ -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);
     }