Skip to content

Commit

Permalink
Merge pull request #22 from DeeNewcum/main
Browse files Browse the repository at this point in the history
fix compile warning
  • Loading branch information
Gadgetoid authored Feb 4, 2022
2 parents 85aa402 + 9b18dbe commit 214abab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pi400.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 214abab

Please sign in to comment.