Merge PR #593: Unix.c: don't use hardcoded path to call "ethtool"

This commit is contained in:
Davide Beatrici authored and GitHub committed 2018-08-05 16:00:25 +02:00
commit 30a554c190
1 file changed
+1 -1
+1 -1
View File
@@ -364,7 +364,7 @@ void UnixDisableInterfaceOffload(char *name)
{
char *a = t->Token[i];
Format(tmp, sizeof(tmp), "/sbin/ethtool -K %s %s off 2>/dev/null", name, a);
Format(tmp, sizeof(tmp), "ethtool -K %s %s off 2>/dev/null", name, a);
FreeToken(UnixExec(tmp));
}
}