rootdev: remove deprecated readdir_r
glibc 2.27 has removed deprecated readdir_r, and we need to
use readdir to replace it.
BUG=chromium:859593
TEST=FEATURES="test" USE="asan" emerge-samus rootdev
Change-Id: I52da7a24a077fe06a68c7092039e6c3b9ca361ae
Reviewed-on: https://chromium-review.googlesource.com/1123022
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Caroline Tice <cmtice@chromium.org>
1 file changed