Signed-off-by: Ruoyu <lian...@ucweb.com>
---
 dog/common.c | 2 +-
 dog/node.c   | 4 ++--
 dog/vdi.c    | 8 ++++----
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dog/common.c b/dog/common.c
index dbe2194..340bbed 100644
--- a/dog/common.c
+++ b/dog/common.c
@@ -301,7 +301,7 @@ static int get_screen_width(void)
 }
 
 /*
- * Show prograss bar as follows.
+ * Show progress bar as follows.
  *
  *  45.0 % [===============>                  ] 180 MB / 400 MB
  */
diff --git a/dog/node.c b/dog/node.c
index e24cc38..b6fd929 100644
--- a/dog/node.c
+++ b/dog/node.c
@@ -138,7 +138,7 @@ static int node_recovery_progress(void)
         *    required.
         *
         * 2. Print remaining physical time.
-        *    Even if it is not so acculate, the information is helpful for
+        *    Even if it is not so accurate, the information is helpful for
         *    administrators.
         */
 
@@ -388,7 +388,7 @@ static int node_md_info(struct node_id *nid)
                return EXIT_SYSFAIL;
 
        if (rsp->result != SD_RES_SUCCESS) {
-               sd_err("failed to get multi-disk infomation: %s",
+               sd_err("failed to get multi-disk information: %s",
                       sd_strerror(rsp->result));
                return EXIT_FAILURE;
        }
diff --git a/dog/vdi.c b/dog/vdi.c
index 178d5c9..9bd89b7 100644
--- a/dog/vdi.c
+++ b/dog/vdi.c
@@ -861,7 +861,7 @@ static int vdi_rollback(int argc, char **argv)
                return ret;
 
        if (!vdi_cmd_data.force)
-               confirm("This operation dicards any changes made since the"
+               confirm("This operation discards any changes made since the"
                        " previous\nsnapshot was taken.  Continue? [yes/no]: ");
 
        ret = do_vdi_delete(vdiname, 0, NULL);
@@ -2444,7 +2444,7 @@ static int vdi_cache_info(int argc, char **argv)
                return EXIT_SYSFAIL;
 
        if (rsp->result != SD_RES_SUCCESS) {
-               sd_err("failed to get cache infomation: %s",
+               sd_err("failed to get cache information: %s",
                       sd_strerror(rsp->result));
                return EXIT_FAILURE;
        }
@@ -2513,13 +2513,13 @@ static int vdi_object_dump_inode(int argc, char **argv)
 
        fd = open(argv[optind], O_RDONLY);
        if (fd < 0) {
-               sd_err("fialed to open inode object file: %m");
+               sd_err("failed to open inode object file: %m");
                return EXIT_FAILURE;
        }
 
        ret = xread(fd, inode, sizeof(*inode));
        if (ret != sizeof(*inode)) {
-               sd_err("fialed to read inode object file: %m");
+               sd_err("failed to read inode object file: %m");
                close(fd);
                return EXIT_FAILURE;
        }
-- 
1.8.3.2


-- 
sheepdog mailing list
sheepdog@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to