mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
Fix ls build.
This commit is contained in:
parent
9160fd0d47
commit
71c9b09e8c
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ int main(int c, char** v)
|
|||
while (auto* de = readdir(dirp)) {
|
||||
sprintf(pathbuf, "%s", de->d_name);
|
||||
|
||||
stat st;
|
||||
struct stat st;
|
||||
int rc = lstat(pathbuf, &st);
|
||||
if (rc == -1) {
|
||||
printf("lstat(%s) failed: %s\n", pathbuf, strerror(errno));
|
||||
|
|
Loading…
Reference in a new issue