cr: fix undefined value
PATCH 1/1 cr: fix undefined value
ret can be used undefined at bottom
Signed-off-by Serge E. Hallyn <serue-r/[email protected]>
--- checkpoint/ckpt_mem.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
checkpoint/ckpt_mem.c +1 -1
@@ -525,7 +525,7 @@ static int cr_write_shared_vma_contents(struct cr_ctx *ctx, {struct inode *inode;unsigned long end; -int ret; +int ret = -EINVAL ;/* * Citing mmap(2): "Updates to the mapping are visible to other
Signature · 1 line
1.6.1