ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/serial_unix.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/serial_unix.cpp (file contents):
Revision 1.16 by gbeauche, 2008-01-01T09:40:33Z vs.
Revision 1.17 by asvitkine, 2010-10-19T03:30:20Z

# 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",

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines