toolbox-ls: re-introduce clobbered error message
commit 403b1955 clobbered the error message on lstat()
calls.
Change-Id: Idbd24b648e3a85079b8f8541c0798bf944485ca1
This commit is contained in:
parent
dfc48139c9
commit
ded3464a10
1 changed files with 1 additions and 0 deletions
|
|
@ -316,6 +316,7 @@ static int listfile(const char *dirname, const char *filename, int flags)
|
|||
}
|
||||
|
||||
if(lstat(pathname, &s) < 0) {
|
||||
fprintf(stderr, "lstat '%s' failed: %s\n", pathname, strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue