summaryrefslogtreecommitdiffstats
path: root/etc/etc.mips
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-02-12 19:00:13 +0000
committered <ed@FreeBSD.org>2009-02-12 19:00:13 +0000
commitdf6314fc7947b16e5c38f201c2264d2a92778156 (patch)
treebea7cb06b1ccf5fcb4c1213010f6713590a9fad7 /etc/etc.mips
parent251dd2ca418183142f0f78ada90a77fa46a3b88f (diff)
downloadFreeBSD-src-df6314fc7947b16e5c38f201c2264d2a92778156.zip
FreeBSD-src-df6314fc7947b16e5c38f201c2264d2a92778156.tar.gz
Make ttyslot(3) work with pts(4) devices.
It seems ttyslot() calls rindex(), to strip the device name to the last slash, but this is obviously invalid. /dev/pts/0 should be stripped until pts/0. Because /etc/ttys only supports TTY names in /dev/, just strip this piece of the pathname.
Diffstat (limited to 'etc/etc.mips')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud