diff --git a/ncat/ncat_listen.c b/ncat/ncat_listen.c index 361876aaf..ff08e7d85 100644 --- a/ncat/ncat_listen.c +++ b/ncat/ncat_listen.c @@ -334,7 +334,7 @@ int ncat_listen() logdebug("select returned %d fds ready\n", fds_ready); if (fds_ready == 0) - bye("Idle timeout expired (%d ms).", usec_wait / 1000); + bye("Idle timeout expired (%ld ms).", usec_wait / 1000); /* If client_fdlist.state increases, the list has changed and we * need to go over it again. */