]> granicus.if.org Git - sudo/commit
For legacy utmp, strip the /dev/ prefix before trying to determine
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 15 Mar 2011 19:51:44 +0000 (15:51 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 15 Mar 2011 19:51:44 +0000 (15:51 -0400)
commit07968755aa07a548a4609c6084122279008c90f6
tree9772a20c780720beeda547d22667974344c409a5
parent5e6bc4017ba587981705e81e278a65d96a1db732
For legacy utmp, strip the /dev/ prefix before trying to determine
slot since the ttys file does not include the /dev/ prefix.
src/utmp.c