ptsname_r: Fix typo in last commit.