1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +00:00

Userland: Fix ifconfig use of /proc/net/adapters

This commit is contained in:
Conrad Pankoff 2019-08-22 00:45:27 +10:00 committed by Andreas Kling
parent de87258b4f
commit bcd214c29d

View file

@ -21,7 +21,7 @@ int main(int argc, char** argv)
UNUSED_PARAM(argc);
UNUSED_PARAM(argv);
CFile file("/proc/netadapters");
CFile file("/proc/net/adapters");
if (!file.open(CIODevice::ReadOnly)) {
fprintf(stderr, "Error: %s\n", file.error_string());
return 1;