Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 331971 | Differences between
and this patch

Collapse All | Expand All

(-)a/console-tools/openvt.c (-1 / +1 lines)
Lines 124-130 int openvt_main(int argc UNUSED_PARAM, c Link Here
124
124
125
	if (flags & OPT_c) {
125
	if (flags & OPT_c) {
126
		/* Check for illegal vt number: < 1 or > 63 */
126
		/* Check for illegal vt number: < 1 or > 63 */
127
		vtno = xatou_range(str_c, 1, 63);
127
		vtno = xatou_range(str_c, 0, 63);
128
	} else {
128
	} else {
129
		vtno = find_free_vtno();
129
		vtno = find_free_vtno();
130
	}
130
	}

Return to bug 331971