summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Pandit <spandit@redhat.com>2014-03-12 07:32:51 +0530
committerRajesh Joseph <rjoseph@redhat.com>2014-03-13 03:06:54 -0700
commit4a07ef78e1854104e53418e632ad5d7f0e1ad15a (patch)
treed28e42a56819bfaa026d768a4deadfdce2b81000
parent0e94e037ac8d7636288ac89d44f0f255e9e8777b (diff)
snapshot : Output correction in snapshot info and create.
Change-Id: Ic468e2e64bdfc0f7d79453524a1b2ebc9b445906 BUG: 1075446 Signed-off-by: Sachin Pandit <spandit@redhat.com> Reviewed-on: http://review.gluster.org/7225 Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com> Reviewed-by: Rajesh Joseph <rjoseph@redhat.com> Tested-by: Rajesh Joseph <rjoseph@redhat.com>
-rw-r--r--cli/src/cli-rpc-ops.c2
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-snapshot.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index 31096f6..95f8b61 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -8395,7 +8395,7 @@ gf_cli_snapshot_cbk (struct rpc_req *req, struct iovec *iov,
case GF_SNAP_OPTION_TYPE_INFO:
if (rsp.op_ret) {
- cli_err ("Snapshot list : failed: %s",
+ cli_err ("Snapshot info : failed: %s",
rsp.op_errstr ? rsp.op_errstr :
"Please check log file for details");
ret = rsp.op_ret;
diff --git a/xlators/mgmt/glusterd/src/glusterd-snapshot.c b/xlators/mgmt/glusterd/src/glusterd-snapshot.c
index 1bc3820..900b528 100644
--- a/xlators/mgmt/glusterd/src/glusterd-snapshot.c
+++ b/xlators/mgmt/glusterd/src/glusterd-snapshot.c
@@ -579,7 +579,7 @@ glusterd_snapshot_create_prevalidate (dict_t *dict, char **op_errstr,
if (glusterd_find_snap_by_name (snapname)) {
ret = -1;
- snprintf (err_str, sizeof (err_str), "Snap %s already exist",
+ snprintf (err_str, sizeof (err_str), "Snap %s already exists",
snapname);
goto out;
}