diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2018-08-31 18:04:32 -0700 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2018-08-31 18:04:32 -0700 |
commit | a6e8926f8d49a213a9abb1a61f6af964f612ab7f (patch) | |
tree | 5714fe2b1c0b909df877d875a60e2e46bcb565ec /sysdeps/unix | |
parent | 2bbd06bcee5fe62896d71f78c6c2b6d0f3a23467 (diff) | |
download | glibc-a6e8926f8d49a213a9abb1a61f6af964f612ab7f.tar.gz glibc-a6e8926f8d49a213a9abb1a61f6af964f612ab7f.tar.xz glibc-a6e8926f8d49a213a9abb1a61f6af964f612ab7f.zip |
[BZ #20271] Add newlines in __libc_fatal calls.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/netlink_assert_response.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/netlink_assert_response.c b/sysdeps/unix/sysv/linux/netlink_assert_response.c index f31ccb52ff..6afc3a17ce 100644 --- a/sysdeps/unix/sysv/linux/netlink_assert_response.c +++ b/sysdeps/unix/sysv/linux/netlink_assert_response.c @@ -72,12 +72,12 @@ __netlink_assert_response (int fd, ssize_t result) char message[200]; if (family < 0) __snprintf (message, sizeof (message), - "Unexpected error %d on netlink descriptor %d", + "Unexpected error %d on netlink descriptor %d.\n", error_code, fd); else __snprintf (message, sizeof (message), "Unexpected error %d on netlink descriptor %d" - " (address family %d)", + " (address family %d).\n", error_code, fd, family); __libc_fatal (message); } |