]> git.proxmox.com Git - mirror_lxc.git/commitdiff
spelling: character
authorJosh Soref <jsoref@users.noreply.github.com>
Tue, 30 Oct 2018 06:50:12 +0000 (06:50 +0000)
committerJosh Soref <jsoref@users.noreply.github.com>
Tue, 30 Oct 2018 06:50:12 +0000 (06:50 +0000)
Signed-off-by: Josh Soref <jsoref@gmail.com>
src/lxc/criu.c

index 60cdb17e8156a93ceea344a4f463bc29aa8be3f5..c40e93a71379d43e6e6b1bc7d2633c56847420bc 100644 (file)
@@ -106,7 +106,7 @@ static int load_tty_major_minor(char *directory, char *output, int len)
 
        ret = snprintf(path, sizeof(path), "%s/tty.info", directory);
        if (ret < 0 || ret >= sizeof(path)) {
-               ERROR("snprintf'd too many chacters: %d", ret);
+               ERROR("snprintf'd too many characters: %d", ret);
                return -1;
        }
 
@@ -1201,7 +1201,7 @@ static int save_tty_major_minor(char *directory, struct lxc_container *c, char *
 
        ret = snprintf(path, sizeof(path), "/proc/%d/root/dev/console", c->init_pid(c));
        if (ret < 0 || ret >= sizeof(path)) {
-               ERROR("snprintf'd too many chacters: %d", ret);
+               ERROR("snprintf'd too many characters: %d", ret);
                return -1;
        }