Mod aaa-12 remove warning from trace_api
RCA: SOL: 修改人:zhangtao 检视人:
This commit is contained in:
parent
043330c7f2
commit
d01d8d1e19
|
@ -134,7 +134,7 @@ static int trace_recv_handle(struct pdelivnl_ctrl_data *ctrl,
|
||||||
case TRACE_CFG_POLICY_REPLY:
|
case TRACE_CFG_POLICY_REPLY:
|
||||||
reply = (trace_reply_t *)NLMSG_DATA(n);
|
reply = (trace_reply_t *)NLMSG_DATA(n);
|
||||||
if (sizeof(*reply) < (n->nlmsg_len - NLMSG_HDRLEN)) {
|
if (sizeof(*reply) < (n->nlmsg_len - NLMSG_HDRLEN)) {
|
||||||
SYSLOG_WARN("The length of the reply message is required to be %d, but fact length is %u",
|
SYSLOG_WARN("The length of the reply message is required to be %u, but fact length is %lu",
|
||||||
sizeof(*reply), (n->nlmsg_len - NLMSG_HDRLEN));
|
sizeof(*reply), (n->nlmsg_len - NLMSG_HDRLEN));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue