Only chop off first /dev/ from devnam before calling logwtmp.