From patchwork Fri Mar 1 11:27:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 31692 Received: (qmail 52891 invoked by alias); 1 Mar 2019 11:27:30 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 52873 invoked by uid 89); 1 Mar 2019 11:27:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=family X-HELO: mx1.redhat.com From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH COMMITTED] __netlink_assert_response: Add more __libc_fatal newlines [BZ #20271] Date: Fri, 01 Mar 2019 12:27:24 +0100 Message-ID: <87y35yygv7.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Commit a6e8926f8d49a213a9abb1a61f6af964f612ab7f ("[BZ #20271] Add newlines in __libc_fatal calls.") missed two places that need changing. Committed. 2019-03-01 Florian Weimer [BZ #20271] * sysdeps/unix/sysv/linux/netlink_assert_response.c (__netlink_assert_response): Add additional missing newlines. 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); }