X-Git-Url: https://git.yukkurigames.com/?p=rogue-pphs.git;a=blobdiff_plain;f=mdport.c;h=03ebaf156d0686c048fd45a0082c0d99d7b76d4d;hp=eb33c32082450c7255ded3562ce9375d92f9c33b;hb=871d48020c1bae22e603e5c8771d9b7468c894c1;hpb=a868f7779583a00316cb076fc4d62ccfb1488434 diff --git a/mdport.c b/mdport.c index eb33c32..03ebaf1 100644 --- a/mdport.c +++ b/mdport.c @@ -357,7 +357,7 @@ md_shellescape() */ setuid(getuid()); setgid(getgid()); - execl(sh == NULL ? "/bin/sh" : sh, "shell", "-i", 0); + execl(sh == NULL ? "/bin/sh" : sh, "shell", "-i", (char *)0); perror("No shelly"); _exit(-1); }