X-Git-Url: https://git.yukkurigames.com/?p=rogue-pphs.git;a=blobdiff_plain;f=mdport.c;fp=mdport.c;h=03ebaf156d0686c048fd45a0082c0d99d7b76d4d;hp=eb33c32082450c7255ded3562ce9375d92f9c33b;hb=dc2a9dbf021e23b51591df2fb04c476355ae26d6;hpb=92078a936afc1445641c9fbcaa77d656f0cd6403 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); }