1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/tools/networking/network-manager/modprobe.patch

12 lines
375 B
Diff

--- a/src/nm-core-utils.c 2017-02-15 13:10:27.000000000 +0100
+++ b/src/nm-core-utils.c 2017-07-06 14:28:41.575815695 +0200
@@ -419,7 +419,7 @@
/* construct the argument list */
argv = g_ptr_array_sized_new (4);
- g_ptr_array_add (argv, "/sbin/modprobe");
+ g_ptr_array_add (argv, "@modprobeBinPath@");
g_ptr_array_add (argv, (char *) arg1);
va_start (ap, arg1);