From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CE4CDA034F; Wed, 31 Mar 2021 15:51:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4A752140EE8; Wed, 31 Mar 2021 15:51:58 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 77336140EDB for ; Wed, 31 Mar 2021 15:51:56 +0200 (CEST) IronPort-SDR: BHpFK+yhrljzQPCn3g8uErUD6kNHaz6iRphl4PxE8suYq/9MNlEBqkI8AI//rTXcVBzcMiYxKb P1ZHe4eX2Yxw== X-IronPort-AV: E=McAfee;i="6000,8403,9940"; a="179134446" X-IronPort-AV: E=Sophos;i="5.81,293,1610438400"; d="scan'208";a="179134446" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2021 06:51:55 -0700 IronPort-SDR: n+YByMW9qZDa0a0PujuCchToDfhr9NYpeqGHL0CCzb5kWtytDDBZd1YQ8H+WTGNK1Rb0L1LoFF /vlWVjwqgzTQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,293,1610438400"; d="scan'208";a="418688167" Received: from silpixa00400573.ir.intel.com (HELO silpixa00400573.ger.corp.intel.com) ([10.237.223.107]) by orsmga008.jf.intel.com with ESMTP; 31 Mar 2021 06:51:54 -0700 From: Cristian Dumitrescu To: dev@dpdk.org Date: Wed, 31 Mar 2021 14:51:53 +0100 Message-Id: <20210331135153.63108-1-cristian.dumitrescu@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] examples/pipeline: add newline to error messages X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add newline to some error messages that were missing it. Signed-off-by: Cristian Dumitrescu --- examples/pipeline/cli.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c index 9d7d69d34..ef47febaa 100644 --- a/examples/pipeline/cli.c +++ b/examples/pipeline/cli.c @@ -1088,7 +1088,7 @@ cmd_pipeline_table_update(char **tokens, if (strcmp(file_name_add, "none")) { file_add = fopen(file_name_add, "r"); if (!file_add) { - snprintf(out, out_size, "Cannot open file %s", + snprintf(out, out_size, "Cannot open file %s.\n", file_name_add); goto error; } @@ -1097,7 +1097,7 @@ cmd_pipeline_table_update(char **tokens, if (strcmp(file_name_delete, "none")) { file_delete = fopen(file_name_delete, "r"); if (!file_delete) { - snprintf(out, out_size, "Cannot open file %s", + snprintf(out, out_size, "Cannot open file %s.\n", file_name_delete); goto error; } @@ -1106,7 +1106,7 @@ cmd_pipeline_table_update(char **tokens, if (strcmp(file_name_default, "none")) { file_default = fopen(file_name_default, "r"); if (!file_default) { - snprintf(out, out_size, "Cannot open file %s", + snprintf(out, out_size, "Cannot open file %s.\n", file_name_default); goto error; } -- 2.17.1