toolbox-ls: re-introduce clobbered error message

commit 403b1955 clobbered the error message on lstat()
calls.

Change-Id: Idbd24b648e3a85079b8f8541c0798bf944485ca1
This commit is contained in:
William Roberts 2014-01-02 14:34:54 -08:00
parent dfc48139c9
commit ded3464a10

View file

@ -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;
}