[3/5] mount: fix typos in root_path_from_parent

Submitted by Pavel Tikhomirov on Sept. 11, 2018, 8:09 a.m.

Details

Message ID 20180911080906.4555-4-ptikhomirov@virtuozzo.com
State Accepted
Series "minor fixes related to paths and logs"
Headers show

Commit Message

Pavel Tikhomirov Sept. 11, 2018, 8:09 a.m.
colon operators are there obviously by mistake instead of semicolons

Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
---
 criu/mount.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/criu/mount.c b/criu/mount.c
index 549039978..781870eea 100644
--- a/criu/mount.c
+++ b/criu/mount.c
@@ -834,8 +834,8 @@  static int root_path_from_parent(struct mount_info *m, char *buf, int size)
 	if (!m->parent)
 		return -1;
 
-	p_len = strlen(m->parent->mountpoint),
-	m_len = strlen(m->mountpoint),
+	p_len = strlen(m->parent->mountpoint);
+	m_len = strlen(m->mountpoint);
 
 	len = snprintf(buf, size, "%s", m->parent->root);
 	if (len >= size)