Signed-off-by: Matt Helsley <matthltc@xxxxxxxxxx> --- libcrtest/labels.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libcrtest/labels.h b/libcrtest/labels.h index f0137dc..f55721b 100644 --- a/libcrtest/labels.h +++ b/libcrtest/labels.h @@ -48,7 +48,7 @@ lbl: \ ret = action ; \ \ if ((ckpt_op_num == op_num) || (ckpt_op_num == -1) || \ - (strcmp(ckpt_label, ___ ##lbl## _l) == 0)) \ + (ckpt_label && strcmp(ckpt_label, ___ ##lbl## _l) == 0)) \ do_ckpt(); \ if (ret < 0) { \ fprintf(logfp, "FAIL: %d\t%s: %s\n", \ -- 1.6.3.3 _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers