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:
parent
de87258b4f
commit
bcd214c29d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue