View | Details | Raw Unified | Return to bug 197499 | Differences between
and this patch

Collapse All | Expand All

(-)usr.bin/wc/wc.c (-1 / +1 lines)
Lines 140-151 Link Here
140
		} while(*++argv);
140
		} while(*++argv);
141
	}
141
	}
142
142
143
	xo_close_list("file");
143
	if (total > 1) {
144
	if (total > 1) {
144
		xo_open_container("total");
145
		xo_open_container("total");
145
		show_cnt("total", tlinect, twordct, tcharct, tlongline);
146
		show_cnt("total", tlinect, twordct, tcharct, tlongline);
146
		xo_close_container("total");
147
		xo_close_container("total");
147
	}
148
	}
148
	xo_close_list("file");
149
	xo_close_container("wc");
149
	xo_close_container("wc");
150
	xo_finish();
150
	xo_finish();
151
	exit(errors == 0 ? 0 : 1);
151
	exit(errors == 0 ? 0 : 1);

Return to bug 197499