[PATCH 2/3] readdir_r(3) is deprecated, use readdir(3) instead