Don't prepend /dev/ to a possible device name if it already begins
commita81af2d7cf2d6a53b37798311f47f71951e47345
authorPaul Mackerras <paulus@samba.org>
Sun, 24 Oct 2004 23:53:05 +0000 (24 23:53 +0000)
committerPaul Mackerras <paulus@samba.org>
Sun, 24 Oct 2004 23:53:05 +0000 (24 23:53 +0000)
treeee9776a9b1dd7019c8948a375922e8f97e6841f3
parent7e1b44a2e4d84f1564d6a4ac4baa43a8d189ae38
Don't prepend /dev/ to a possible device name if it already begins
with '/' (i.e. just check for / instead of /dev/ as before).
This allows /udev/blah to be used as a tty device name.
Requested by Pawel Sakowski.
pppd/tty.c