From 971b460b6b384f9eafc3a15385eda23b67fbce59 Mon Sep 17 00:00:00 2001 From: ales stibal Date: Sun, 19 Nov 2023 19:01:46 +0100 Subject: [PATCH] fix size_t formatting --- src/service/cmd/diag/diag_cmds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service/cmd/diag/diag_cmds.cpp b/src/service/cmd/diag/diag_cmds.cpp index fc2a684b..f29c7fa7 100644 --- a/src/service/cmd/diag/diag_cmds.cpp +++ b/src/service/cmd/diag/diag_cmds.cpp @@ -2260,7 +2260,7 @@ int cli_diag_neighbor_clear(struct cli_def *cli, const char *command, char *argv sz = nb.cache().get_map_ul().size(); nb.cache().clear_ul(); } - cli_print(cli, "cleared %ld entries", sz); + cli_print(cli, "cleared %zu entries", sz); return CLI_OK; }