fix strerror_r test

Change-Id: I29a511f35e6ff50df55fcc00e0165c14585b8f2d