Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ded3464a authored by William Roberts's avatar William Roberts
Browse files

toolbox-ls: re-introduce clobbered error message

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

Change-Id: Idbd24b648e3a85079b8f8541c0798bf944485ca1
parent dfc48139
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
    }