projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix -Walloc-size
[userspace-rcu.git]
/
doc
/
examples
/
urcu-flavors
/
bp.c
diff --git
a/doc/examples/urcu-flavors/bp.c
b/doc/examples/urcu-flavors/bp.c
index 0bbc303a9946ad017d24a47fd6ee6e22e9fa158c..d42373386633f0a6c724d31a69c902a6ee1e058e 100644
(file)
--- a/
doc/examples/urcu-flavors/bp.c
+++ b/
doc/examples/urcu-flavors/bp.c
@@
-32,7
+32,7
@@
int add_node(uint64_t v)
{
struct mynode *node;
{
struct mynode *node;
- node = calloc(
sizeof(*node), 1
);
+ node = calloc(
1, sizeof(*node)
);
if (!node)
return -1;
node->value = v;
if (!node)
return -1;
node->value = v;
This page took
0.024408 seconds
and
4
git commands to generate.