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
/
qwctl
/
qwctl.c
diff --git
a/examples/quota_watermark/qwctl/qwctl.c
b/examples/quota_watermark/qwctl/qwctl.c
index
eb2f618
..
4961089
100644
(file)
--- a/
examples/quota_watermark/qwctl/qwctl.c
+++ b/
examples/quota_watermark/qwctl/qwctl.c
@@
-68,7
+68,7
@@
setup_shared_variables(void)
rte_exit(EXIT_FAILURE, "Couldn't find memzone\n");
quota = qw_memzone->addr;
- low_watermark = (unsigned int *) qw_memzone->addr +
sizeof(int)
;
+ low_watermark = (unsigned int *) qw_memzone->addr +
1
;
}
int main(int argc, char **argv)