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
Imported Upstream version 16.07-rc1
[deb_dpdk.git]
/
examples
/
quota_watermark
/
qw
/
init.c
diff --git
a/examples/quota_watermark/qw/init.c
b/examples/quota_watermark/qw/init.c
index
afc1366
..
c208721
100644
(file)
--- a/
examples/quota_watermark/qw/init.c
+++ b/
examples/quota_watermark/qw/init.c
@@
-170,5
+170,5
@@
setup_shared_variables(void)
rte_exit(EXIT_FAILURE, "%s\n", rte_strerror(rte_errno));
quota = qw_memzone->addr;
- low_watermark = (unsigned int *) qw_memzone->addr +
sizeof(int)
;
+ low_watermark = (unsigned int *) qw_memzone->addr +
1
;
}