diff --git a/src/core/io/qprocess_unix.cpp b/src/core/io/qprocess_unix.cpp index b3926678b..4e90fb2db 100644 --- a/src/core/io/qprocess_unix.cpp +++ b/src/core/io/qprocess_unix.cpp @@ -216,7 +216,7 @@ void QProcessManager::catchDeadChildren() qt_safe_write((*it)->d_func()->deathPipe[1], "", 1); #if defined (QPROCESS_DEBUG) - qDebug() << "QProcessManager::run() sending death notice to" << process; + qDebug() << "QProcessManager::run() sending death notice to" << (*it); #endif ++it; } diff --git a/src/core/kernel/qeventdispatcher_unix.cpp b/src/core/kernel/qeventdispatcher_unix.cpp index 30bce684d..7c41840ff 100644 --- a/src/core/kernel/qeventdispatcher_unix.cpp +++ b/src/core/kernel/qeventdispatcher_unix.cpp @@ -112,7 +112,7 @@ int QEventDispatcherUNIXPrivate::doSelect(QEventLoop::ProcessEventsFlags flags, if (ret == -1 && (fds.revents & POLLNVAL) != 0) { // disable the invalid socket notifier qWarning("QSocketNotifier: Invalid socket %d and type '%s', disabling...", - sn->fd, sockTypeString[type]); + sn->fd, sockTypeString[type]); sn->obj->setEnabled(false); } }