chiark / gitweb /
macro: fix ALIGN_TO macro definition
authorLennart Poettering <lennart@poettering.net>
Tue, 8 Nov 2011 17:18:48 +0000 (18:18 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 8 Nov 2011 17:18:48 +0000 (18:18 +0100)
src/macro.h

index e7a4d2c..3f30aa7 100644 (file)
@@ -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;