Commit 5c18267d authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

proc-parse: Fix line merging

Seems was a typo.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 8c9e1556
......@@ -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;
......
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