sideband: Fix SBB_INIT().
[paraslash.git] / sideband.h
index 4f4ed0ac219d826e6d76aa0fded9a9fa13dd57c0..8ae3e4ef35089e698f5eb81a4d1926e95f07ace5 100644 (file)
@@ -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 \