2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

proc_parse: Drop ending ')' from format

%s specificator eats it and matching stream fails.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
Cyrill Gorcunov
2012-01-15 01:39:44 +04:00
parent 04a6f0449d
commit fd0802ab66

View File

@@ -2,7 +2,7 @@
#define PROC_PARSE_H__
#define TASK_COMM_LEN 16
#define TASK_COMM_LEN_FMT "(%15s)"
#define TASK_COMM_LEN_FMT "(%15s"
struct proc_pid_stat {
int pid;