Fixed mistake on POSIX.