mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +00:00
Fix ls build.
This commit is contained in:
parent
9160fd0d47
commit
71c9b09e8c
Notes:
sideshowbarker
2024-07-19 18:35:54 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/71c9b09e8c6
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