From patchwork Tue Jan 14 21:44:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mitchel Humpherys X-Patchwork-Id: 3488271 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 117F5C02DC for ; Tue, 14 Jan 2014 21:44:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1B6092024D for ; Tue, 14 Jan 2014 21:44:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 22A8D20225 for ; Tue, 14 Jan 2014 21:44:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751967AbaANVoa (ORCPT ); Tue, 14 Jan 2014 16:44:30 -0500 Received: from mail-pa0-f44.google.com ([209.85.220.44]:60748 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751653AbaANVo2 (ORCPT ); Tue, 14 Jan 2014 16:44:28 -0500 Received: by mail-pa0-f44.google.com with SMTP id kq14so214816pab.3 for ; Tue, 14 Jan 2014 13:44:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=w2qFxHdDeBe6qoKpVh9M4b8iAdR6850EHTqEOBaVqmM=; b=f2D9BaxJHg6TAOw85CRgwopTkE9/Z6jUHnEw2/Zuu754sCE6FFffwaWAbzZ14wYYWR 94V9sB5fx4GGHPcNsY2XM4eKr+Af8LIBCvJeULKFk6HBRlCgarFf6Cg/RqKY025eFMXn 7sBsHmIEqIFkCdi6Ga3ZG5N8pNNnOhmiJhJNoWQGFP1W7Z3flagli2w56e5u8S9fMzzf 9UBho1/f7fUuMyWdOQPfKc4qkwzN/47u80bXvyYVYwou75M/CgtQq3UHplJhpDfr3yiJ MsMw6YVErw5T4Rpf6rewPKBdo84WUjg4zqxH/K3mXCwpoi49pgyCBPpmtPqWD7vzs8e3 cXBQ== X-Received: by 10.66.121.164 with SMTP id ll4mr4534060pab.48.1389735868496; Tue, 14 Jan 2014 13:44:28 -0800 (PST) Received: from mitchelh-linux.qualcomm.com (i-global252.qualcomm.com. [199.106.103.252]) by mx.google.com with ESMTPSA id vp4sm4400430pab.8.2014.01.14.13.44.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Jan 2014 13:44:27 -0800 (PST) From: Mitchel Humpherys To: linux-btrfs@vger.kernel.org Cc: Mitchel Humpherys Subject: [PATCH] btrfs-progs: fix minor grammar issues Date: Tue, 14 Jan 2014 13:44:03 -0800 Message-Id: <1389735843-11685-2-git-send-email-mitch.special@gmail.com> X-Mailer: git-send-email 1.8.5.2 In-Reply-To: <1389735843-11685-1-git-send-email-mitch.special@gmail.com> References: <1389735843-11685-1-git-send-email-mitch.special@gmail.com> 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, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 Remove the extraneous `to' from `Can't access to X'. Signed-off-by: Mitchel Humpherys --- cmds-balance.c | 10 +++++----- cmds-device.c | 4 ++-- cmds-filesystem.c | 6 +++--- cmds-scrub.c | 2 +- cmds-subvolume.c | 10 +++++----- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/cmds-balance.c b/cmds-balance.c index a151475..8a743ec 100644 --- a/cmds-balance.c +++ b/cmds-balance.c @@ -298,7 +298,7 @@ static int do_balance(const char *path, struct btrfs_ioctl_balance_args *args, fd = open_file_or_dir(path, &dirstream); if (fd < 0) { - fprintf(stderr, "ERROR: can't access to '%s'\n", path); + fprintf(stderr, "ERROR: can't access '%s'\n", path); return 1; } @@ -497,7 +497,7 @@ static int cmd_balance_pause(int argc, char **argv) fd = open_file_or_dir(path, &dirstream); if (fd < 0) { - fprintf(stderr, "ERROR: can't access to '%s'\n", path); + fprintf(stderr, "ERROR: can't access '%s'\n", path); return 1; } @@ -538,7 +538,7 @@ static int cmd_balance_cancel(int argc, char **argv) fd = open_file_or_dir(path, &dirstream); if (fd < 0) { - fprintf(stderr, "ERROR: can't access to '%s'\n", path); + fprintf(stderr, "ERROR: can't access '%s'\n", path); return 1; } @@ -580,7 +580,7 @@ static int cmd_balance_resume(int argc, char **argv) fd = open_file_or_dir(path, &dirstream); if (fd < 0) { - fprintf(stderr, "ERROR: can't access to '%s'\n", path); + fprintf(stderr, "ERROR: can't access '%s'\n", path); return 1; } @@ -673,7 +673,7 @@ static int cmd_balance_status(int argc, char **argv) fd = open_file_or_dir(path, &dirstream); if (fd < 0) { - fprintf(stderr, "ERROR: can't access to '%s'\n", path); + fprintf(stderr, "ERROR: can't access '%s'\n", path); return 2; } diff --git a/cmds-device.c b/cmds-device.c index bc4a8dc..1717294 100644 --- a/cmds-device.c +++ b/cmds-device.c @@ -85,7 +85,7 @@ static int cmd_add_dev(int argc, char **argv) fdmnt = open_file_or_dir(mntpnt, &dirstream); if (fdmnt < 0) { - fprintf(stderr, "ERROR: can't access to '%s'\n", mntpnt); + fprintf(stderr, "ERROR: can't access '%s'\n", mntpnt); return 1; } @@ -153,7 +153,7 @@ static int cmd_rm_dev(int argc, char **argv) fdmnt = open_file_or_dir(mntpnt, &dirstream); if (fdmnt < 0) { - fprintf(stderr, "ERROR: can't access to '%s'\n", mntpnt); + fprintf(stderr, "ERROR: can't access '%s'\n", mntpnt); return 1; } diff --git a/cmds-filesystem.c b/cmds-filesystem.c index 1c1926b..8c5c37f 100644 --- a/cmds-filesystem.c +++ b/cmds-filesystem.c @@ -232,7 +232,7 @@ static int cmd_df(int argc, char **argv) fd = open_file_or_dir(path, &dirstream); if (fd < 0) { - fprintf(stderr, "ERROR: can't access to '%s'\n", path); + fprintf(stderr, "ERROR: can't access '%s'\n", path); return 1; } ret = get_df(fd, &sargs); @@ -579,7 +579,7 @@ static int cmd_sync(int argc, char **argv) fd = open_file_or_dir(path, &dirstream); if (fd < 0) { - fprintf(stderr, "ERROR: can't access to '%s'\n", path); + fprintf(stderr, "ERROR: can't access '%s'\n", path); return 1; } @@ -840,7 +840,7 @@ static int cmd_resize(int argc, char **argv) fd = open_file_or_dir(path, &dirstream); if (fd < 0) { - fprintf(stderr, "ERROR: can't access to '%s'\n", path); + fprintf(stderr, "ERROR: can't access '%s'\n", path); return 1; } diff --git a/cmds-scrub.c b/cmds-scrub.c index 605af45..d9e47c1 100644 --- a/cmds-scrub.c +++ b/cmds-scrub.c @@ -1643,7 +1643,7 @@ static int cmd_scrub_status(int argc, char **argv) fdmnt = open_path_or_dev_mnt(path, &dirstream); if (fdmnt < 0) { - fprintf(stderr, "ERROR: can't access to '%s'\n", path); + fprintf(stderr, "ERROR: can't access '%s'\n", path); return 1; } diff --git a/cmds-subvolume.c b/cmds-subvolume.c index f57694a..2645c85 100644 --- a/cmds-subvolume.c +++ b/cmds-subvolume.c @@ -142,7 +142,7 @@ static int cmd_subvol_create(int argc, char **argv) fddst = open_file_or_dir(dstdir, &dirstream); if (fddst < 0) { - fprintf(stderr, "ERROR: can't access to '%s'\n", dstdir); + fprintf(stderr, "ERROR: can't access '%s'\n", dstdir); goto out; } @@ -266,7 +266,7 @@ again: fd = open_file_or_dir(dname, &dirstream); if (fd < 0) { - fprintf(stderr, "ERROR: can't access to '%s'\n", dname); + fprintf(stderr, "ERROR: can't access '%s'\n", dname); ret = 1; goto out; } @@ -611,13 +611,13 @@ static int cmd_snapshot(int argc, char **argv) fddst = open_file_or_dir(dstdir, &dirstream1); if (fddst < 0) { - fprintf(stderr, "ERROR: can't access to '%s'\n", dstdir); + fprintf(stderr, "ERROR: can't access '%s'\n", dstdir); goto out; } fd = open_file_or_dir(subvol, &dirstream2); if (fd < 0) { - fprintf(stderr, "ERROR: can't access to '%s'\n", dstdir); + fprintf(stderr, "ERROR: can't access '%s'\n", dstdir); goto out; } @@ -751,7 +751,7 @@ static int cmd_subvol_set_default(int argc, char **argv) fd = open_file_or_dir(path, &dirstream); if (fd < 0) { - fprintf(stderr, "ERROR: can't access to '%s'\n", path); + fprintf(stderr, "ERROR: can't access '%s'\n", path); return 1; }