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 e7a4d2cde1940e531b113a0231a52c517bbf006d..3f30aa78920b4dad34e554d07fd6e8a42fef7760 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;