summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-11-08 18:18:48 +0100
committerLennart Poettering <lennart@poettering.net>2011-11-08 18:18:48 +0100
commit9b3c575ed90bb1165a192dfae2fb2330baab583c (patch)
treee27b26f3263691c5e23e73c7cf03203719b01651
parent8f9b6cd9eb049b00b1e9e669d0e35aa415dc8fb0 (diff)
macro: fix ALIGN_TO macro definition
-rw-r--r--src/macro.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macro.h b/src/macro.h
index e7a4d2cde1..3f30aa7892 100644
--- a/src/macro.h
+++ b/src/macro.h
@@ -149,7 +149,7 @@ static inline size_t ALIGN_TO(size_t l, size_t ali) {
char *_s = (char *)(s); \
_i->iov_base = _s; \
_i->iov_len = strlen(_s); \
- } while(false);
+ } while(false)
static inline size_t IOVEC_TOTAL_SIZE(const struct iovec *i, unsigned n) {
unsigned j;