aboutsummaryrefslogtreecommitdiffstats
path: root/cmds-receive.c
diff options
context:
space:
mode:
authorNicholas D Steeves <nsteeves@gmail.com>2016-05-11 19:50:36 -0400
committerDavid Sterba <dsterba@suse.com>2016-06-01 14:56:56 +0200
commitbd2cc320aff5789fe4034736fa6da8b4ebae475f (patch)
tree72d6d1fe1066bc127d94ce039ddbb08181ba9305 /cmds-receive.c
parent62c0666378eb70285b6a3052bf4144d2132a5891 (diff)
downloadbtrfs-progs-bd2cc320aff5789fe4034736fa6da8b4ebae475f.tar.gz
btrfs-progs-bd2cc320aff5789fe4034736fa6da8b4ebae475f.tar.xz
btrfs-progs-bd2cc320aff5789fe4034736fa6da8b4ebae475f.zip
btrfs-progs: typo review of strings and comments
Signed-off-by: Nicholas D Steeves <nsteeves@gmail.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-receive.c')
-rw-r--r--cmds-receive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-receive.c b/cmds-receive.c
index cbb1642..f4a3a4f 100644
--- a/cmds-receive.c
+++ b/cmds-receive.c
@@ -644,7 +644,7 @@ static int open_inode_for_write(struct btrfs_receive *r, const char *path)
r->write_fd = open(path, O_RDWR);
if (r->write_fd < 0) {
ret = -errno;
- error("cannont open %s: %s", path, strerror(-ret));
+ error("cannot open %s: %s", path, strerror(-ret));
goto out;
}
strncpy_null(r->write_path, path);