From patchwork Fri Apr 21 00:49:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Matlack X-Patchwork-Id: 9691527 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 439796038D for ; Fri, 21 Apr 2017 00:50:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 35DD52847B for ; Fri, 21 Apr 2017 00:50:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2AC5728480; Fri, 21 Apr 2017 00:50:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DEA2B2847B for ; Fri, 21 Apr 2017 00:50:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033869AbdDUAum (ORCPT ); Thu, 20 Apr 2017 20:50:42 -0400 Received: from mail-io0-f175.google.com ([209.85.223.175]:35329 "EHLO mail-io0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1034135AbdDUAuf (ORCPT ); Thu, 20 Apr 2017 20:50:35 -0400 Received: by mail-io0-f175.google.com with SMTP id r16so90793414ioi.2 for ; Thu, 20 Apr 2017 17:50:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gMyaV16w9vvq2K17kkAx5nzl2wtv2g/lpCqMBh2maYM=; b=q9QHj1+AIpfCcOGqR42w2Fx7mGFNEdan+KqRBFi0H5iQoE+WoUnqECjTzfr8ngPv0K tvlu0tHI1JfiZcf6YRxCWTHWMT3bJPld/2lWlRKIVRioIHeAbward1ItjvnUuDf5caQp eECypVjmGKW0m7p9LYdniBFJ4gFNDFNfjqWvGm1w7Pdrw1ltC2wo6VJ063fgPaQPQ7PY nMp8RkxUicdtZpJbQlmZfOSWowyy7eROQMMuhtHHKHXlTuMm3KW3W8Wwoq66V5qz2PNX BTVxg4iPywd4DBaZ6XSSNtxnVRtZgJQ9S3LqD5AiwJk3uNBd0GJAH5b6bjmPJBTFldt4 fKPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gMyaV16w9vvq2K17kkAx5nzl2wtv2g/lpCqMBh2maYM=; b=T4b2xKsnI1+vULu62NMWJMkBiTizeQRkUVx9/8qepIp6eVOB9wNPIzVE210+Qv1MCB hfb09ZAVAJMejuHp4350ZNIbNWX+rckqcvQg9uyCqt7OcuLyaEcxjKvJXB4HP6Fz1YAx 3Hec80vYorusfmOG/RzMkudZ2LrQx8EXiK2FOwvJfrsqyOqT1tQAM9hEFae13GDeT2LG 2dUvMrbO8M7yA5iAm74FWKv6+lNyOY4dOJTD6wKWl7Xaf2htKLr1YQT8r+2/iJFZ+dLs 8tNFzSe603SzAaN/6AD1kyVocQO66rLdK6BLkuWeZ4BLulSZQ9jZtUOL1X1dx74ZluDo /jSw== X-Gm-Message-State: AN3rC/7Ej0dpEJdmp9jpStWsRcDJ7bpEQDNLLPsRuCFpbNS80CFa8gFH 5oOOd+icWbobAL/H X-Received: by 10.84.248.8 with SMTP id p8mr5962059pll.32.1492735829496; Thu, 20 Apr 2017 17:50:29 -0700 (PDT) Received: from dmatlack.sea.corp.google.com ([100.100.206.82]) by smtp.gmail.com with ESMTPSA id e13sm12466486pfb.30.2017.04.20.17.50.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Apr 2017 17:50:28 -0700 (PDT) From: David Matlack To: kvm@vger.kernel.org Cc: Peter Feiner , David Matlack Subject: [kvm-unit-tests PATCH 22/32] lib: add newline to assert_msg Date: Thu, 20 Apr 2017 17:49:54 -0700 Message-Id: <20170421005004.137260-23-dmatlack@google.com> X-Mailer: git-send-email 2.12.2.816.g2cccc81164-goog In-Reply-To: <20170421005004.137260-1-dmatlack@google.com> References: <20170421005004.137260-1-dmatlack@google.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Peter Feiner Signed-off-by: Peter Feiner Signed-off-by: David Matlack --- lib/libcflat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libcflat.h b/lib/libcflat.h index 05c18543dd72..7e4bce1dd335 100644 --- a/lib/libcflat.h +++ b/lib/libcflat.h @@ -130,7 +130,7 @@ do { \ #define assert_msg(cond, fmt, args...) \ do { \ if (!(cond)) { \ - printf("%s:%d: assert failed: %s: " fmt, \ + printf("%s:%d: assert failed: %s: " fmt "\n", \ __FILE__, __LINE__, #cond, ## args); \ dump_stack(); \ abort(); \