projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09602a9
)
sideband: Fix SBB_INIT().
author
Andre Noll
<maan@systemlinux.org>
Mon, 13 Aug 2012 06:35:17 +0000
(08:35 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Mon, 13 Aug 2012 08:00:20 +0000
(10:00 +0200)
The macro parameter is called "_band" rather than "band". This
only worked by accident because all users called the argument
"band".
sideband.h
patch
|
blob
|
history
diff --git
a/sideband.h
b/sideband.h
index 4f4ed0ac219d826e6d76aa0fded9a9fa13dd57c0..8ae3e4ef35089e698f5eb81a4d1926e95f07ace5 100644
(file)
--- a/
sideband.h
+++ b/
sideband.h
@@
-114,7
+114,7
@@
typedef void (*sb_transformation)(struct iovec *src, struct iovec *dst,
/** Initialize a sideband buffer. */
#define SBB_INIT(_band, _buf, _numbytes) \
{ \
- .band = band, \
+ .band =
_
band, \
.iov = { \
.iov_base = _buf, \
.iov_len = _numbytes \