POSIX error found when running on linux mint 17