diff --git a/wt-status.c b/wt-status.c index 7bda9953e..160e84126 100644 --- a/wt-status.c +++ b/wt-status.c @@ -551,7 +551,7 @@ static void wt_status_print_other(struct wt_status *s, int i; struct strbuf buf = STRBUF_INIT; - if (!s->untracked.nr) + if (!l->nr) return; wt_status_print_other_header(s, what, how);