From 1170b925ee303958af815bae92bf5482e1e601b1 Mon Sep 17 00:00:00 2001 From: asvitkine <> Date: Tue, 19 Oct 2010 03:30:20 +0000 Subject: [PATCH] fix sentinel warning --- BasiliskII/src/Unix/serial_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BasiliskII/src/Unix/serial_unix.cpp b/BasiliskII/src/Unix/serial_unix.cpp index c507ad5f..de80520d 100644 --- a/BasiliskII/src/Unix/serial_unix.cpp +++ b/BasiliskII/src/Unix/serial_unix.cpp @@ -587,7 +587,7 @@ bool XSERDPort::open_pty(void) // // 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",