Commit 61dbc976 authored by Konstantin Neumoin's avatar Konstantin Neumoin Committed by Pavel Emelyanov

zdtm: fix /proc/lock parsing

11: POSIX  ADVISORY  WRITE 1 b6:a4111:136512 0 EOF
Acked-by: 's avatarAndrew Vagin <avagin@parallels.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 11d8642a
...@@ -90,7 +90,7 @@ static int check_file_locks() ...@@ -90,7 +90,7 @@ static int check_file_locks()
continue; continue;
num = sscanf(buf, num = sscanf(buf,
"%lld:%s %s %s %d %02x:%02x:%ld %lld %s", "%lld:%s %s %s %d %x:%x:%ld %lld %s",
&fl_id, fl_flag, fl_type, fl_option, &fl_id, fl_flag, fl_type, fl_option,
&fl_owner, &maj, &min, &i_no, &start, end); &fl_owner, &maj, &min, &i_no, &start, end);
......
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