diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-22 10:45:32 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-22 10:45:32 +0100 |
commit | 75b100673fb721eda824372ddee0d7417410c00e (patch) | |
tree | b1ba99e8b18463e2de14a455af4f8c6980486080 /Userland/sysctl.cpp | |
parent | afa6f88039b7466151d56650c528dc95009c14aa (diff) | |
download | serenity-75b100673fb721eda824372ddee0d7417410c00e.zip |
Switch over to building everything with i686-elf-g++.
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] == '.') |