The gHardy man pages specify the return type of ptsname_r to be char*, but the return value to be 0 on success, negative on error and the gHardy stdlib.h defines extern int ptsname_r(...). Busybox telnetd fails to run successfully without this change.
2.0 KiB
2.0 KiB