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

Collapse All | Expand All

(-)linux-2.6.10/drivers/char/tty_io.c~1 (-1 / +1 lines)
Lines 1148-1154 static inline void pty_line_name(struct Link Here
1148
	int i = index + driver->name_base;
1148
	int i = index + driver->name_base;
1149
	/* ->name is initialized to "ttyp", but "tty" is expected */
1149
	/* ->name is initialized to "ttyp", but "tty" is expected */
1150
	sprintf(p, "%s%c%x",
1150
	sprintf(p, "%s%c%x",
1151
			driver->subtype == PTY_TYPE_SLAVE ? "tty" : driver->name,
1151
			driver->subtype == PTY_TYPE_SLAVE ? "pty" : driver->name,
1152
			ptychar[i >> 4 & 0xf], i & 0xf);
1152
			ptychar[i >> 4 & 0xf], i & 0xf);
1153
}
1153
}
1154
1154

Return to bug 3736