mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +00:00
fix sentinel warning
This commit is contained in:
parent
7665252790
commit
1170b925ee
@ -587,7 +587,7 @@ bool XSERDPort::open_pty(void)
|
||||
// <should we drop privileges if running setuid?>
|
||||
|
||||
// Let the shell do the dirty work
|
||||
execlp("/bin/sh", "/bin/sh", "-c", ++device_name, 0);
|
||||
execlp("/bin/sh", "/bin/sh", "-c", ++device_name, (char *)NULL);
|
||||
|
||||
// exec failed!
|
||||
printf("serial_open: could not exec %s: %s\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user