Commit 70dd6eaa authored by Pavel Tikhomirov's avatar Pavel Tikhomirov Committed by Andrei Vagin

mount: fix typos in root_path_from_parent

colon operators are there obviously by mistake instead of semicolons
Signed-off-by: 's avatarPavel Tikhomirov <ptikhomirov@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent bfe5a850
...@@ -834,8 +834,8 @@ static int root_path_from_parent(struct mount_info *m, char *buf, int size) ...@@ -834,8 +834,8 @@ static int root_path_from_parent(struct mount_info *m, char *buf, int size)
if (!m->parent) if (!m->parent)
return -1; return -1;
p_len = strlen(m->parent->mountpoint), p_len = strlen(m->parent->mountpoint);
m_len = strlen(m->mountpoint), m_len = strlen(m->mountpoint);
len = snprintf(buf, size, "%s", m->parent->root); len = snprintf(buf, size, "%s", m->parent->root);
if (len >= size) if (len >= size)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment