mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-09 09:35:39 +00:00
spelling: character
Signed-off-by: Josh Soref <jsoref@gmail.com>
This commit is contained in:
parent
ffc4030163
commit
f510330c1a
@ -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);
|
ret = snprintf(path, sizeof(path), "%s/tty.info", directory);
|
||||||
if (ret < 0 || ret >= sizeof(path)) {
|
if (ret < 0 || ret >= sizeof(path)) {
|
||||||
ERROR("snprintf'd too many chacters: %d", ret);
|
ERROR("snprintf'd too many characters: %d", ret);
|
||||||
return -1;
|
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));
|
ret = snprintf(path, sizeof(path), "/proc/%d/root/dev/console", c->init_pid(c));
|
||||||
if (ret < 0 || ret >= sizeof(path)) {
|
if (ret < 0 || ret >= sizeof(path)) {
|
||||||
ERROR("snprintf'd too many chacters: %d", ret);
|
ERROR("snprintf'd too many characters: %d", ret);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user