Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
New upstream version 17.11.3
[deb_dpdk.git]
/
app
/
proc_info
/
main.c
diff --git
a/app/proc_info/main.c
b/app/proc_info/main.c
index
64fbbd0
..
875d91e
100644
(file)
--- a/
app/proc_info/main.c
+++ b/
app/proc_info/main.c
@@
-188,7
+188,7
@@
proc_info_preparse_args(int argc, char **argv)
proc_info_usage(prgname);
return -1;
}
- s
trncpy(host_id, argv[i+1], sizeof(host_id)
);
+ s
nprintf(host_id, sizeof(host_id), "%s", argv[i+1]
);
}
}