diff options
Diffstat (limited to 'Userland/sysctl.cpp')
-rw-r--r-- | Userland/sysctl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/sysctl.cpp b/Userland/sysctl.cpp index 274a55fd62..b83211ec99 100644 --- a/Userland/sysctl.cpp +++ b/Userland/sysctl.cpp @@ -52,7 +52,7 @@ int show_all() perror("opendir"); return 1; } - char pathbuf[256]; + char pathbuf[PATH_MAX]; while (auto* de = readdir(dirp)) { if (de->d_name[0] == '.') |