mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-31 13:52:29 +00:00
Update error messages when fcntl/ioctl on X fd for SETSIG fails to make it a little clearer.
modified: src/timer.c
This commit is contained in:
@@ -691,11 +691,13 @@ static void int_io_init() {
|
||||
#ifdef XWINDOW
|
||||
#ifdef LINUX
|
||||
if (fcntl(ConnectionNumber(currentdsp->display_id), F_SETSIG, 0) < 0)
|
||||
perror("fcntl on X fd - SETSIG for input handling failed");
|
||||
#else
|
||||
if (ioctl(ConnectionNumber(currentdsp->display_id), I_SETSIG, S_INPUT) < 0)
|
||||
perror("ioctl on X fd - SETSIG for input handling failed");
|
||||
#endif
|
||||
perror("ioctl on X fd - SETSIG");
|
||||
#endif /* XWINDOW */
|
||||
|
||||
#ifdef USE_DLPI
|
||||
DBPRINT(("INIT ETHER: Doing I_SETSIG.\n"));
|
||||
if (ether_fd > 0)
|
||||
|
||||
Reference in New Issue
Block a user