Patch from Denis Vlasenko to add xstat() and use it.

This commit is contained in:
Rob Landley
2006-03-13 15:45:16 +00:00
parent 965030e35a
commit c5b1d4d6b1
12 changed files with 26 additions and 25 deletions

View File

@ -230,7 +230,7 @@ static struct dnode *my_stat(char *fullname, char *name)
rc = getfilecon(fullname,&sid);
}
#endif
rc = stat(fullname, &dstat);
rc = stat(fullname, &dstat);
if(rc) {
bb_perror_msg("%s", fullname);
status = EXIT_FAILURE;