Commit 19312d8c authored by Scott Vokes's avatar Scott Vokes
Browse files

Cast seq_id to (long long) for debugging log.

parent 4f3880e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -784,7 +784,7 @@ static void tick_handler(listener *l) {
                BUS_LOG_SNPRINTF(b, 1, LOG_LISTENER, b->udata, 256,
                    "notifying of rx failure -- timeout (info %p) -- "
                    "<fd:%d, seq_id:%lld>, from time (%ld.%ld) to (%ld.%ld) to (%ld.%ld)",
                    (void*)info, box->fd, box->out_seq_id,
                    (void*)info, box->fd, (long long)box->out_seq_id,
                    (long)box->tv_send_start.tv_sec, (long)box->tv_send_start.tv_usec, 
                    (long)box->tv_send_done.tv_sec, (long)box->tv_send_done.tv_usec, 
                    (long)tv.tv_sec, (long)tv.tv_usec);
+1 −1
Original line number Diff line number Diff line
@@ -1068,7 +1068,7 @@ static void tick_timeout(sender *s, tx_info_t *info) {
            BUS_LOG_SNPRINTF(b, 1, LOG_SENDER, b->udata, 256,
                "timeout waiting to notify of pending response on <fd:%d, seq_id:%lld>:"
                "(%ld.%ld - %ld.%ld - %ld.%ld)",
                info->u.notify.fd, info->u.notify.box->out_seq_id,
                info->u.notify.fd, (long long)info->u.notify.box->out_seq_id,
                (long)ue.box->tv_send_start.tv_sec, (long)ue.box->tv_send_start.tv_usec,
                (long)ue.box->tv_send_done.tv_sec, (long)ue.box->tv_send_done.tv_usec,
                (long)tv.tv_sec, (long)tv.tv_usec);