mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
Netif (Hurd): fixes a compiler warning
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
bool ffNetifGetDefaultRouteImplV4(FFNetifDefaultRouteResult* result) {
|
||||
FILE* FF_AUTO_CLOSE_FILE netRoute = fopen("/proc/route", "r");
|
||||
FF_AUTO_CLOSE_FILE FILE* netRoute = fopen("/proc/route", "r");
|
||||
|
||||
if (!netRoute) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user