Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162534AbdD0N51 (ORCPT ); Thu, 27 Apr 2017 09:57:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52450 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1033652AbdD0N5T (ORCPT ); Thu, 27 Apr 2017 09:57:19 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 5DD0519D241 Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=dhowells@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 5DD0519D241 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <1492727320-26194-5-git-send-email-mkayaalp@linux.vnet.ibm.com> References: <1492727320-26194-5-git-send-email-mkayaalp@linux.vnet.ibm.com> <1492727320-26194-1-git-send-email-mkayaalp@linux.vnet.ibm.com> To: Mehmet Kayaalp Cc: dhowells@redhat.com, David Woodhouse , keyrings , LSM , kernel , Mimi Zohar , Stefan Berger , George Wilson Subject: Re: [PATCH v4 4/4] KEYS: Print insert-sys-cert information to stdout instead of stderr MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13505.1493301433.1@warthog.procyon.org.uk> Date: Thu, 27 Apr 2017 14:57:13 +0100 Message-ID: <13506.1493301433@warthog.procyon.org.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 27 Apr 2017 13:57:18 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 314 Lines: 11 Mehmet Kayaalp wrote: > +#define info(format, args...) fprintf(stdout, "INFO: " format, ## args) Btw, you really ought to be using standard varargs macros: #define info(format, ...) fprintf(stdout, "INFO: " format, ##__VA_LIST__) But don't worry about that for now. David