summaryrefslogtreecommitdiffstats
path: root/src/vlibapi
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlibapi')
-rw-r--r--src/vlibapi/api_helper_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlibapi/api_helper_macros.h b/src/vlibapi/api_helper_macros.h
index e3241706431..3a011dae2b6 100644
--- a/src/vlibapi/api_helper_macros.h
+++ b/src/vlibapi/api_helper_macros.h
@@ -183,7 +183,7 @@ static void vl_api_want_##lca##_t_handler ( \
p = hash_get (vam->lca##_registration_hash, mp->client_index); \
if (p) { \
if (mp->enable_disable) { \
- clib_warning ("pid %d: already enabled...", mp->pid); \
+ clib_warning ("pid %d: already enabled...", ntohl(mp->pid)); \
rv = VNET_API_ERROR_INVALID_REGISTRATION; \
goto reply; \
} else { \