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
use macro to declare constructor functions
[dpdk.git]
/
lib
/
librte_eal
/
common
/
eal_common_hexdump.c
diff --git
a/lib/librte_eal/common/eal_common_hexdump.c
b/lib/librte_eal/common/eal_common_hexdump.c
old mode 100755
(executable)
new mode 100644
(file)
index
6135133
..
d5cbd70
--- a/
lib/librte_eal/common/eal_common_hexdump.c
+++ b/
lib/librte_eal/common/eal_common_hexdump.c
@@
-103,7
+103,7
@@
rte_memdump(FILE *f, const char * title, const void * buf, unsigned int len)
line[0] = '\0';
for (i = 0, out = 0; i < len; i++) {
- // Make sure we do not overrun the line buffer length.
+ // Make sure we do not overrun the line buffer length.
if ( out >= (LINE_LEN - 4) ) {
fprintf(f, "%s", line);
out = 0;
@@
-118,4
+118,3
@@
rte_memdump(FILE *f, const char * title, const void * buf, unsigned int len)
fflush(f);
}
-