diff --git a/pi400.c b/pi400.c index ad8c4ac..cb5f013 100644 --- a/pi400.c +++ b/pi400.c @@ -43,7 +43,7 @@ bool modprobe_libcomposite() { if (pid < 0) return false; if (pid == 0) { - const char* argv[] = {"modprobe", "libcomposite"}; + char* const argv[] = {"modprobe", "libcomposite"}; execv("/usr/sbin/modprobe", argv); exit(0); }