fix messed-up errno if remove fails for a non-EISDIR reason
[musl] / src / internal / syscall.c