summaryrefslogtreecommitdiffstats
path: root/bfdd/bfdd_cli.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-03-27 12:51:47 +0100
committerDavid Lamparter <equinox@diac24.net>2020-07-14 10:43:40 +0200
commit6cde4b45528e52819c803de92d10d4be3abddf29 (patch)
tree745ba8e073b939160c79a55b36d538100811d660 /bfdd/bfdd_cli.c
parent*: un-split strings across lines (diff)
downloadfrr-6cde4b45528e52819c803de92d10d4be3abddf29.tar.xz
frr-6cde4b45528e52819c803de92d10d4be3abddf29.zip
*: remove PRI[udx](8|16|32)
These are completely pointless and break coccinelle string replacements. Scripted commit, idempotent to running: ``` python3 tools/stringmangle.py --pri8-16-32 `git ls-files | egrep '\.[ch]$'` ``` Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'bfdd/bfdd_cli.c')
-rw-r--r--bfdd/bfdd_cli.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfdd/bfdd_cli.c b/bfdd/bfdd_cli.c
index 166997e67..28c6cbee2 100644
--- a/bfdd/bfdd_cli.c
+++ b/bfdd/bfdd_cli.c
@@ -312,7 +312,7 @@ void bfd_cli_show_rx(struct vty *vty, struct lyd_node *dnode,
BFD_DEFREQUIREDMINRX);
else {
value = yang_dnode_get_uint32(dnode, NULL);
- vty_out(vty, " receive-interval %" PRIu32 "\n", value / 1000);
+ vty_out(vty, " receive-interval %u\n", value / 1000);
}
}
@@ -341,7 +341,7 @@ void bfd_cli_show_tx(struct vty *vty, struct lyd_node *dnode,
BFD_DEFDESIREDMINTX);
else {
value = yang_dnode_get_uint32(dnode, NULL);
- vty_out(vty, " transmit-interval %" PRIu32 "\n", value / 1000);
+ vty_out(vty, " transmit-interval %u\n", value / 1000);
}
}
@@ -391,7 +391,7 @@ void bfd_cli_show_echo_interval(struct vty *vty, struct lyd_node *dnode,
BFD_DEF_REQ_MIN_ECHO);
else {
value = yang_dnode_get_uint32(dnode, NULL);
- vty_out(vty, " echo-interval %" PRIu32 "\n", value / 1000);
+ vty_out(vty, " echo-interval %u\n", value / 1000);
}
}