summaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/device.c
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2020-09-16 13:10:53 -0700
committerYichen Wang <yicwang@cisco.com>2020-09-23 20:52:16 +0000
commitcc4f3d9102f250628ccceb644682b33fc8d878ad (patch)
tree8c02e2bd214c91bd2b3c4d9bd1441ecb260a8f5d /src/plugins/avf/device.c
parentef73a0725d17c2251348e4f54aebe71afd7cc24f (diff)
avf: wrong argument passed to avf_log_err
Type: fix Signed-off-by: Steven Luong <sluong@cisco.com> Change-Id: Ica4601c9d17e182cbc348989a9f75ab1cb18b78a (cherry picked from commit ba3a20082d8e17388bfeca6c2b422e3a11a4eb69)
Diffstat (limited to 'src/plugins/avf/device.c')
-rw-r--r--src/plugins/avf/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/avf/device.c b/src/plugins/avf/device.c
index 2b4801e2c81..0481e61b294 100644
--- a/src/plugins/avf/device.c
+++ b/src/plugins/avf/device.c
@@ -1241,7 +1241,7 @@ avf_process (vlib_main_t * vm, vlib_node_runtime_t * rt, vlib_frame_t * f)
if ((err = avf_config_promisc_mode (vm, ad, is_enable)))
{
- avf_log_err (ad, "%s: %U", format_clib_error, err);
+ avf_log_err (ad, "error: %U", format_clib_error, err);
clib_error_free (err);
}
}