From 39802f2f11763b1e1164ef36009213eb7cdb54bb Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 13 Aug 2012 08:35:17 +0200 Subject: [PATCH] sideband: Fix SBB_INIT(). The macro parameter is called "_band" rather than "band". This only worked by accident because all users called the argument "band". --- sideband.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sideband.h b/sideband.h index 4f4ed0ac..8ae3e4ef 100644 --- 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 \ -- 2.39.2