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: 1050103 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-100344-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="gkVSf4eb"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 449nG041ZLz9s47 for ; Fri, 1 Mar 2019 22:27:36 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; q=dns; s=default; b=MpyGvpnRhJYMyHDYbcM1/CH5Rmvpu HO2P/vtI+9YGvJHwzGYyBs9y7OywoNwU9Akvg3vyntYfUWdF1c9wysogLj3da6pk 4eotnC8eOZ/x+ani9FVh1kT3IxQ870MROsROEU5GPVO1uHmoVXF8u56g3wX9BltJ G12SM/CB/lW4Y8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; s=default; bh=ZRv75Zlev8vbOhbcTNNVCWh1hhc=; b=gkV Sf4eboSkzcFQxW9aGs5EakSkCfaJ1YtOyIIpISEXYxJ/PNL3smhsojV51v1U6PAx WLwnHaIszbGF60xTnRJA+zLTAJG4GpbuxDipSn7XeVXIaZvnY96uOxH7vm7OMmzk TerixLUS/a7IRHMd/y+bvRV4XWiWMkIaE9f4SCgk= 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); }