]> granicus.if.org Git - sudo/commit
The device name returned by devname() does not include the /dev/
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 11 Jan 2012 20:40:42 +0000 (15:40 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 11 Jan 2012 20:40:42 +0000 (15:40 -0500)
commitc0f5256f599c8509c110d39a0a0bc2b1020dcf20
tree0c5616af923a8b3d8f6ca49a74c34739f3a3e77b
parent42e15abcc3bdf13131850c680cb925dacdb3ba67
parentf05de3f3f129e8cabdb142af3cf40f6f758f733f
The device name returned by devname() does not include the /dev/
prefix so we need to add it ourselves.  Also add debug warning if
KERN_PROC sysctl fails or devname() can't resolve the tty device
to a name.

--HG--
branch : 1.8