commit | 6458c49c96fd2069a82fa6bb48283b4397087a25 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Jan 12 12:58:12 2010 -0800 |
committer | Colin Cross <ccross@android.com> | Tue Jan 12 12:58:12 2010 -0800 |
tree | 68fcbb5f16ce4bb500f065129c2cf5297cb59e6f | |
parent | 0b5db51ea6d9c0b877d2ce26440d963760c38dfe [diff] |
Fix ptsname_r(3) return type to match glibc 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.