on bionic libc strerror_r return an integer,
we have to cast it to a char * to suppress warnings.