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 18.11.2
[deb_dpdk.git]
/
lib
/
librte_eal
/
linuxapp
/
eal
/
eal_hugepage_info.c
diff --git
a/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c
b/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c
index
0eab1cf
..
6e898c2
100644
(file)
--- a/
lib/librte_eal/linuxapp/eal/eal_hugepage_info.c
+++ b/
lib/librte_eal/linuxapp/eal/eal_hugepage_info.c
@@
-45,7
+45,7
@@
static void *
map_shared_memory(const char *filename, const size_t mem_size, int flags)
{
void *retval;
- int fd = open(filename, flags, 06
66
);
+ int fd = open(filename, flags, 06
00
);
if (fd < 0)
return NULL;
if (ftruncate(fd, mem_size) < 0) {