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
Notes: sideshowbarker 2024-07-19 12:34:48 +09:00

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;