diff options
author | William Roberts <wroberts@tresys.com> | 2014-01-02 14:34:54 -0800 |
---|---|---|
committer | William Roberts <wroberts@tresys.com> | 2014-01-03 02:52:34 +0000 |
commit | ded3464a1099cdeba616dfa7a0df3bcf8671207d (patch) | |
tree | 342651a34ed091851d30680c7ebd9c4662891d3e /toolbox | |
parent | dfc48139c9afc8366184a1a7bc2f3762c0c82ea2 (diff) | |
download | system_core-ded3464a1099cdeba616dfa7a0df3bcf8671207d.zip system_core-ded3464a1099cdeba616dfa7a0df3bcf8671207d.tar.gz system_core-ded3464a1099cdeba616dfa7a0df3bcf8671207d.tar.bz2 |
toolbox-ls: re-introduce clobbered error message
commit 403b1955 clobbered the error message on lstat()
calls.
Change-Id: Idbd24b648e3a85079b8f8541c0798bf944485ca1
Diffstat (limited to 'toolbox')
-rw-r--r-- | toolbox/ls.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toolbox/ls.c b/toolbox/ls.c index 8467628..c740f84 100644 --- a/toolbox/ls.c +++ b/toolbox/ls.c @@ -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; } |