mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-25 15:39:55 +00:00
Userland: Fix ifconfig use of /proc/net/adapters
This commit is contained in:
parent
de87258b4f
commit
bcd214c29d
Notes:
sideshowbarker
2024-07-19 12:34:48 +09:00
Author: https://github.com/deoxxa Commit: https://github.com/SerenityOS/serenity/commit/bcd214c29db Pull-request: https://github.com/SerenityOS/serenity/pull/474
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…
Reference in a new issue