Fix the smrstress build after r358400.

Reported by:	pho
This commit is contained in:
markj 2020-08-05 17:26:20 +00:00
parent 3846ff8414
commit 4dfd56e352

View File

@ -68,7 +68,7 @@ smrs_error(struct smrs *smrs, const char *fmt, ...)
atomic_add_int(&smrs_failures, 1); atomic_add_int(&smrs_failures, 1);
printf("SMR ERROR: wr_seq %d, rd_seq %d, c_seq %d, generation %d, count %d ", printf("SMR ERROR: wr_seq %d, rd_seq %d, c_seq %d, generation %d, count %d ",
smrs_smr->c_shared->s_wr_seq, smrs_smr->c_shared->s_rd_seq, smrs_smr->c_shared->s_wr.seq, smrs_smr->c_shared->s_rd_seq,
zpcpu_get(smrs_smr)->c_seq, smrs->generation, smrs->count); zpcpu_get(smrs_smr)->c_seq, smrs->generation, smrs->count);
va_start(ap, fmt); va_start(ap, fmt);
(void)vprintf(fmt, ap); (void)vprintf(fmt, ap);