summaryrefslogtreecommitdiffstats
path: root/nhrpd/nhrp_event.c
diff options
context:
space:
mode:
authorF. Aragon <paco@voltanet.io>2018-07-02 17:32:05 +0200
committerF. Aragon <paco@voltanet.io>2018-07-02 17:50:21 +0200
commit0651460e00282d13f01b5423213a085f9fba2db6 (patch)
tree51d1f699d419748302254e09781e67c4c49789ab /nhrpd/nhrp_event.c
parentMerge pull request #2475 from LabNConsulting/working/master/no_vrf_socket_4l3... (diff)
downloadfrr-0651460e00282d13f01b5423213a085f9fba2db6.tar.xz
frr-0651460e00282d13f01b5423213a085f9fba2db6.zip
eigrpd nhrpd ospfd pimd: fomat fixes (PVS-Studio)
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'nhrpd/nhrp_event.c')
-rw-r--r--nhrpd/nhrp_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nhrpd/nhrp_event.c b/nhrpd/nhrp_event.c
index e7adc971e..7ca973176 100644
--- a/nhrpd/nhrp_event.c
+++ b/nhrpd/nhrp_event.c
@@ -59,7 +59,7 @@ static void evmgr_recv_message(struct event_manager *evmgr, struct zbuf *zb)
buf[len] = 0;
debugf(NHRP_DEBUG_EVENT, "evmgr: msg: %s", buf);
- if (sscanf(buf, "eventid=%d", &eventid) != 1)
+ if (sscanf(buf, "eventid=%" SCNu32, &eventid) != 1)
continue;
if (sscanf(buf, "result=%63s", result) != 1)
continue;