[CRIU] [PATCH 7/7] proc-parse: Fix line merging
Cyrill Gorcunov
gorcunov at openvz.org
Tue Aug 11 07:18:11 PDT 2015
Seems was a typo.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
proc_parse.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/proc_parse.c b/proc_parse.c
index 00e2b7bc6d20..306e0f076529 100644
--- a/proc_parse.c
+++ b/proc_parse.c
@@ -977,7 +977,9 @@ static int parse_mnt_opt(char *str, struct mount_info *mi, int *off)
* mountinfo contains mangled paths. space, tab and back slash were replaced
* with usual octal escape. This function replaces these symbols back.
*/
-static void cure_path(char *path) { int i, len, off = 0;
+static void cure_path(char *path)
+{
+ int i, len, off = 0;
if (strchr(path, '\\') == NULL) /* fast path */
return;
--
2.4.3
More information about the CRIU
mailing list