# | Line 587 | Line 587 | bool XSERDPort::open_pty(void) | |
---|---|---|
587 | // <should we drop privileges if running setuid?> | |
588 | ||
589 | // Let the shell do the dirty work | |
590 | < | execlp("/bin/sh", "/bin/sh", "-c", ++device_name, 0); |
590 | > | execlp("/bin/sh", "/bin/sh", "-c", ++device_name, (char *)NULL); |
591 | ||
592 | // exec failed! | |
593 | printf("serial_open: could not exec %s: %s\n", |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |