From patchwork Thu Mar 14 15:10:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yordan Karadzhov X-Patchwork-Id: 10853069 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3395C1669 for ; Thu, 14 Mar 2019 15:10:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FE0F2A1C6 for ; Thu, 14 Mar 2019 15:10:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1E30D2A2ED; Thu, 14 Mar 2019 15:10:35 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI 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 C3AEC2A1C6 for ; Thu, 14 Mar 2019 15:10:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726539AbfCNPKe (ORCPT ); Thu, 14 Mar 2019 11:10:34 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:46918 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726360AbfCNPKe (ORCPT ); Thu, 14 Mar 2019 11:10:34 -0400 Received: by mail-pf1-f194.google.com with SMTP id s23so4015021pfe.13 for ; Thu, 14 Mar 2019 08:10:34 -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:mime-version:content-transfer-encoding; bh=Ef6nhdk31VjtfcmxyPLsDWeiOqYm80MfCr+s976Ei0I=; b=AF11zp7zLL6YLx9blNKOBvnMjOaSODEWykC+zvYbkhyMTu9bqRbetMMpVEVuB0X9Ev Kghv+jzHSbTWj6LT17xx9X1DQYzAnfqfBqkGz3v3xKgy8GzhfxhFASjUFI4BfrT67bKO AW2MMPRbKP9fQiXOIIiJouGc0RYl237PEYjbXjsrhEAjrXzuhPY4Mxa28hb6vhlHJLN2 dP2qkJX6I7MKEeJA5rk+wIS1DDmthBS00MbeYWug8ZuWl1mdz7deSx6IoQZyVm/I0wmk mqW1u0mNpUrClvLBgPwRjNCpHPnHQVATXsVXj8Tapylss4+gqAk4wUYJolvXo4mXTVEh a5Tg== X-Gm-Message-State: APjAAAUFts+1ikVa//B9awEfmOc/6srvX8L9wRufR75G/pzMhgc/guNp JZDpOSZNT1ljjPac9oTt3yZjBMiC X-Google-Smtp-Source: APXvYqzWgyRdGn+yIStALFIatUB9BzKCodtxI9GNBoBVA4sCY14Xb+/vUTULeJJP8FraNIHcMDuIRQ== X-Received: by 2002:a17:902:547:: with SMTP id 65mr51986466plf.242.1552576233881; Thu, 14 Mar 2019 08:10:33 -0700 (PDT) Received: from mamba.eng.vmware.com ([146.247.46.5]) by smtp.gmail.com with ESMTPSA id f65sm8165585pfg.98.2019.03.14.08.10.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Mar 2019 08:10:33 -0700 (PDT) From: Yordan Karadzhov To: rostedt@goodmis.org Cc: linux-trace-devel@vger.kernel.org Subject: [PATCH 02/12] kernel-shark: Fix a typo in an error message from libkshark-configio Date: Thu, 14 Mar 2019 17:10:02 +0200 Message-Id: <20190314151012.905-3-ykaradzhov@vmware.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190314151012.905-1-ykaradzhov@vmware.com> References: <20190314151012.905-1-ykaradzhov@vmware.com> MIME-Version: 1.0 Sender: linux-trace-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-trace-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The error message, printed whene kshark_open_json_file() fails, puts the period on a new line. Signed-off-by: Yordan Karadzhov --- kernel-shark/src/libkshark-configio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel-shark/src/libkshark-configio.c b/kernel-shark/src/libkshark-configio.c index ab88864..2bd5600 100644 --- a/kernel-shark/src/libkshark-configio.c +++ b/kernel-shark/src/libkshark-configio.c @@ -1624,7 +1624,7 @@ static struct json_object *kshark_open_json_file(const char *file_name, fail: /* The document has a wrong type. */ - fprintf(stderr, "Failed to open Json file %s\n.", file_name); + fprintf(stderr, "Failed to open Json file %s.\n", file_name); fprintf(stderr, "The document has a wrong type.\n"); json_object_put(jobj);