From patchwork Tue Jul 18 14:53:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miguel Angel Ajo X-Patchwork-Id: 790335 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=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xBjr42MjSz9ryr for ; Wed, 19 Jul 2017 00:55:00 +1000 (AEST) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 84C0E902; Tue, 18 Jul 2017 14:53:41 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id B3DE6486 for ; Tue, 18 Jul 2017 14:53:38 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f182.google.com (mail-wr0-f182.google.com [209.85.128.182]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 4D2151DB for ; Tue, 18 Jul 2017 14:53:38 +0000 (UTC) Received: by mail-wr0-f182.google.com with SMTP id v105so2729762wrb.0 for ; Tue, 18 Jul 2017 07:53:38 -0700 (PDT) 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=VMuewlPyWPU1uSE9sRZ+uL7kObGyzHXAUEqogjersPg=; b=qYL2AdSew0DxV7ZdX4rO9w2ANgZP0mwbMljfL/lepL+fP37xyVVI90H43UmsroD5E+ +MbtKRgpS3yddjze1wMnCvB1k1K7X9NdPBjfZCTqGSO+dAu3fe1pH6aJWIGcfilg0pio Pp867cJzu8YlIEMh/L0PCO4UzUphKWQxje0xV6oHOuxpyOae0E1CkROeM/I/ftY2zEiv 9wJz61rlkX8pq+qbKoeP9RWq8ASwIXizUU8dM5TsF68bhF7MQSvXZhJQUFj4Gc35d1oU 1Qrlo+/VixtGPu/IRar2AyY/Rd6KFnoS43xLlHxdYuxs2w6sgA7uNFTQvjOB/1XmDVkZ bmvQ== X-Gm-Message-State: AIVw113r2a2HAhR2xHVgr0EpFUIENjZq5sF2y9GJN47Pl3cjATH0uo/e 2P+VWQryv4aKnxO2PiFbxQ== X-Received: by 10.223.169.117 with SMTP id u108mr1460168wrc.17.1500389616611; Tue, 18 Jul 2017 07:53:36 -0700 (PDT) Received: from gw2.localdomain (111.148.134.37.dynamic.jazztel.es. [37.134.148.111]) by smtp.gmail.com with ESMTPSA id u187sm3457553wmd.26.2017.07.18.07.53.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 07:53:35 -0700 (PDT) From: Miguel Angel Ajo To: dev@openvswitch.org Date: Tue, 18 Jul 2017 14:53:29 +0000 Message-Id: <1500389610-5540-3-git-send-email-majopela@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1500389610-5540-1-git-send-email-majopela@redhat.com> References: <1500389610-5540-1-git-send-email-majopela@redhat.com> X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: YAMAMOTO Takashi Subject: [ovs-dev] [PATCH v1 3/4] acinclude.m4: Avoid error from printf. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org From: Ben Pfaff GNU (at least) printf interprets -I as an option, but we want to print it literally, so use %s. CC: YAMAMOTO Takashi Fixes: 27d41afaa446 ("acinclude.m4: Avoid echo -n") Signed-off-by: Ben Pfaff Acked-by: Justin Pettit --- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 05c57b8..e7affc5 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -968,7 +968,7 @@ dnl ctags ignores symbols with extras identifiers. This builds a list of dnl specially handled identifiers to be ignored. AC_DEFUN([OVS_CTAGS_IDENTIFIERS], AC_SUBST([OVS_CTAGS_IDENTIFIERS_LIST], - [`printf '-I "'; sed -n 's/^#define \(OVS_[A-Z_]\+\)(\.\.\.)$/\1+/p' ${srcdir}/include/openvswitch/compiler.h | tr \\\n ' ' ; printf '"'`] )) + [`printf %s '-I "'; sed -n 's/^#define \(OVS_[A-Z_]\+\)(\.\.\.)$/\1+/p' ${srcdir}/include/openvswitch/compiler.h | tr \\\n ' ' ; printf '"'`] )) dnl OVS_PTHREAD_SET_NAME dnl