git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/ice: refine debug build option
[dpdk.git]
/
examples
/
server_node_efd
/
shared
/
common.h
diff --git
a/examples/server_node_efd/shared/common.h
b/examples/server_node_efd/shared/common.h
index
b8b533d
..
130fd4f
100644
(file)
--- a/
examples/server_node_efd/shared/common.h
+++ b/
examples/server_node_efd/shared/common.h
@@
-61,7
+61,7
@@
get_rx_queue_name(unsigned int id)
*/
static char buffer[sizeof(MP_NODE_RXQ_NAME) + 2];
- snprintf(buffer, sizeof(buffer)
- 1
, MP_NODE_RXQ_NAME, id);
+ snprintf(buffer, sizeof(buffer), MP_NODE_RXQ_NAME, id);
return buffer;
}