There are failures in testsuite, at least ptsname.c have to be updated too.Ah right, had a small change for that one, but as there seemed to be more changed needed there I didn't include it, was not suspecting it would cause test suite failures. :) Attached now. Although the line with: p[0] = 't'; seems a bit suspicious, but then I've not analyzed the function in depth.
The code gets via kern.devname name of master device "/dev/ptyXX" and alters into name of slave device "/dev/ttyXX". I am not sure what we should do with /dev/pts/xxx names. The 'p' -> 't' alteration might not be the right one. Petr