From patchwork Tue Nov 25 18:52:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Sterba X-Patchwork-Id: 5382131 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 831ACC11AC for ; Tue, 25 Nov 2014 18:52:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D0FC920142 for ; Tue, 25 Nov 2014 18:52:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 16C62200DE for ; Tue, 25 Nov 2014 18:52:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751035AbaKYSwD (ORCPT ); Tue, 25 Nov 2014 13:52:03 -0500 Received: from cantor2.suse.de ([195.135.220.15]:50751 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750942AbaKYSwC (ORCPT ); Tue, 25 Nov 2014 13:52:02 -0500 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 2B2C3ADC5 for ; Tue, 25 Nov 2014 18:52:01 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 97556DA93F; Tue, 25 Nov 2014 19:52:01 +0100 (CET) From: David Sterba To: linux-btrfs@vger.kernel.org Cc: David Sterba Subject: [PATCH] btrfs-progs: fix spacing in error messages Date: Tue, 25 Nov 2014 19:52:00 +0100 Message-Id: <1416941520-896-1-git-send-email-dsterba@suse.cz> X-Mailer: git-send-email 2.1.3 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: David Sterba --- btrfs-list.c | 4 ++-- qgroup.c | 2 +- send-utils.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/btrfs-list.c b/btrfs-list.c index b6b84935109d..50edcf493869 100644 --- a/btrfs-list.c +++ b/btrfs-list.c @@ -1711,7 +1711,7 @@ int btrfs_list_find_updated_files(int fd, u64 root_id, u64 oldest_gen) ret = ioctl(fd, BTRFS_IOC_TREE_SEARCH, &args); e = errno; if (ret < 0) { - fprintf(stderr, "ERROR: can't perform the search- %s\n", + fprintf(stderr, "ERROR: can't perform the search - %s\n", strerror(e)); break; } @@ -1911,7 +1911,7 @@ int btrfs_list_get_path_rootid(int fd, u64 *treeid) ret = ioctl(fd, BTRFS_IOC_INO_LOOKUP, &args); if (ret < 0) { fprintf(stderr, - "ERROR: can't perform the search -%s\n", + "ERROR: can't perform the search - %s\n", strerror(errno)); return ret; } diff --git a/qgroup.c b/qgroup.c index 368b26284544..1a4866cb7345 100644 --- a/qgroup.c +++ b/qgroup.c @@ -1160,7 +1160,7 @@ u64 btrfs_get_path_rootid(int fd) ret = ioctl(fd, BTRFS_IOC_INO_LOOKUP, &args); if (ret < 0) { fprintf(stderr, - "ERROR: can't perform the search -%s\n", + "ERROR: can't perform the search - %s\n", strerror(errno)); return ret; } diff --git a/send-utils.c b/send-utils.c index 71b6ec1528e5..cbaf2e90acb4 100644 --- a/send-utils.c +++ b/send-utils.c @@ -556,7 +556,7 @@ int subvol_uuid_search_init(int mnt_fd, struct subvol_uuid_search *s) ret = is_uuid_tree_supported(mnt_fd); if (ret < 0) { fprintf(stderr, - "ERROR: check if we support uuid tree fails- %s\n", + "ERROR: check if we support uuid tree fails - %s\n", strerror(errno)); return ret; } else if (ret) { @@ -579,7 +579,7 @@ int subvol_uuid_search_init(int mnt_fd, struct subvol_uuid_search *s) ret = ioctl(mnt_fd, BTRFS_IOC_TREE_SEARCH, &args); e = errno; if (ret < 0) { - fprintf(stderr, "ERROR: can't perform the search- %s\n", + fprintf(stderr, "ERROR: can't perform the search - %s\n", strerror(e)); return ret; }