diff --git a/src/rpc/virnetmessage.c b/src/rpc/virnetmessage.c index 2fbd603968deb4c6d60e954ecddbda969415730a..cf76e2133b7d1b8324c111cac1d1e9044709ae75 100644 --- a/src/rpc/virnetmessage.c +++ b/src/rpc/virnetmessage.c @@ -271,8 +271,8 @@ int virNetMessageEncodeNumFDs(virNetMessagePtr msg) if (numFDs > VIR_NET_MESSAGE_NUM_FDS_MAX) { virReportError(VIR_ERR_RPC, - _("Too many FDs to send %d, expected %d maximum"), - numFDs, VIR_NET_MESSAGE_NUM_FDS_MAX); + _("Too many FDs to send %d, expected %d maximum"), + numFDs, VIR_NET_MESSAGE_NUM_FDS_MAX); goto cleanup; } @@ -309,8 +309,8 @@ int virNetMessageDecodeNumFDs(virNetMessagePtr msg) if (numFDs > VIR_NET_MESSAGE_NUM_FDS_MAX) { virReportError(VIR_ERR_RPC, - _("Received too many FDs %d, expected %d maximum"), - numFDs, VIR_NET_MESSAGE_NUM_FDS_MAX); + _("Received too many FDs %d, expected %d maximum"), + numFDs, VIR_NET_MESSAGE_NUM_FDS_MAX); goto cleanup; } diff --git a/src/util/event_poll.h b/src/util/event_poll.h index c77b5dfd9d23f5946f219de5768b2255bb811a2a..64b2e965f45d0f036fd34fd3e530d8022a047225 100644 --- a/src/util/event_poll.h +++ b/src/util/event_poll.h @@ -37,9 +37,9 @@ * returns -1 if the file handle cannot be registered, 0 upon success */ int virEventPollAddHandle(int fd, int events, - virEventHandleCallback cb, - void *opaque, - virFreeCallback ff); + virEventHandleCallback cb, + void *opaque, + virFreeCallback ff); /** * virEventPollUpdateHandle: change event set for a monitored file handle @@ -74,9 +74,9 @@ int virEventPollRemoveHandle(int watch); * integer timer id upon success */ int virEventPollAddTimeout(int frequency, - virEventTimeoutCallback cb, - void *opaque, - virFreeCallback ff); + virEventTimeoutCallback cb, + void *opaque, + virFreeCallback ff); /** * virEventPollUpdateTimeout: change frequency for a timer