1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-04 21:47:31 +03:00

macro: fix ALIGN_TO macro definition

This commit is contained in:
Lennart Poettering 2011-11-08 18:18:48 +01:00
parent 8f9b6cd9eb
commit 9b3c575ed9

View 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;