restore: check whether a thread core contains comm or not
CC criu/cr-restore.o
criu/cr-restore.c:3470:22: error: address of array 'thread_args[i].comm' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
if (thread_args[i].comm)
~~ ~~~~~~~~~~~~~~~^~~~
1 error generated.
Signed-off-by:
Andrei Vagin <avagin@virtuozzo.com>
Showing
Please
register
or
sign in
to comment