Commit 8a6269e4 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Cyrill Gorcunov

restore_pipe_data(): fix a typo

Found using clang:

cr-restore.c:796:8: error: use of unary operator that may be intended as compound assignment (+=)
                size =+ ret;
                     ^~
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent be6a7fea
...@@ -789,7 +789,7 @@ static int restore_pipe_data(struct pipe_entry *e, int wfd, int pipes_fd) ...@@ -789,7 +789,7 @@ static int restore_pipe_data(struct pipe_entry *e, int wfd, int pipes_fd)
return -1; return -1;
} }
size =+ ret; size += ret;
} }
return 0; return 0;
......
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