Trivial fix. Signed-off-by: Serge E. Hallyn <serue@xxxxxxxxxx> --- checkpoint/rstr_file.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/checkpoint/rstr_file.c b/checkpoint/rstr_file.c index de260dc..c9d75e5 100644 --- a/checkpoint/rstr_file.c +++ b/checkpoint/rstr_file.c @@ -236,7 +236,7 @@ int cr_read_file(struct cr_ctx *ctx, int objref) { struct cr_hdr_file *hh; struct file *file; - int fd, ret; + int fd = -EINVAL, ret; hh = cr_hbuf_get(ctx, sizeof(*hh)); if (!hh) -- 1.6.1 _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers