1
mirror of https://github.com/mpv-player/mpv synced 2024-09-12 23:45:53 +02:00

64bit support

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10334 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2003-06-24 19:59:14 +00:00
parent d20cb9b1d1
commit 6c3692acf6

View File

@ -301,7 +301,7 @@ static int run_shell_cmd(menu_t* menu, char* cmd) {
dup2(in[0],0);
dup2(out[1],1);
dup2(err[1],2);
execl("/bin/sh","sh","-c",cmd,NULL);
execl("/bin/sh","sh","-c",cmd,(void*)NULL);
fprintf(errf,"exec failed : %s\n",strerror(errno));
exit(1);
}