mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:27:34 +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(argc);
|
||||||
UNUSED_PARAM(argv);
|
UNUSED_PARAM(argv);
|
||||||
|
|
||||||
CFile file("/proc/netadapters");
|
CFile file("/proc/net/adapters");
|
||||||
if (!file.open(CIODevice::ReadOnly)) {
|
if (!file.open(CIODevice::ReadOnly)) {
|
||||||
fprintf(stderr, "Error: %s\n", file.error_string());
|
fprintf(stderr, "Error: %s\n", file.error_string());
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue