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
ethdev: fix missing imissed counter in xstats
[dpdk.git]
/
lib
/
librte_cmdline
/
cmdline.c
diff --git
a/lib/librte_cmdline/cmdline.c
b/lib/librte_cmdline/cmdline.c
index
a9c47be
..
d749165
100644
(file)
--- a/
lib/librte_cmdline/cmdline.c
+++ b/
lib/librte_cmdline/cmdline.c
@@
-205,7
+205,8
@@
cmdline_printf(const struct cmdline *cl, const char *fmt, ...)
}
if (ret >= BUFSIZ)
ret = BUFSIZ - 1;
- write(cl->s_out, buf, ret);
+ ret = write(cl->s_out, buf, ret);
+ (void)ret;
free(buf);
#endif
}