summaryrefslogtreecommitdiff
path: root/src/test/test-ring.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-11 16:58:45 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-11 16:58:45 +0100
commiteccaf899331ecbe3807739b6356ebba3d71480c7 (patch)
tree7d9968c3ca604ded8b165b3463237d1822365e55 /src/test/test-ring.c
parentf7340ab269828d917cd1281e33e6dd4fdfee67b3 (diff)
tree-wide: use our memset() macros instead of memset() itself
Diffstat (limited to 'src/test/test-ring.c')
-rw-r--r--src/test/test-ring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-ring.c b/src/test/test-ring.c
index 5e4efdbde9..a9dd01ca01 100644
--- a/src/test/test-ring.c
+++ b/src/test/test-ring.c
@@ -36,7 +36,7 @@ static void test_ring(void) {
struct iovec vec[2];
int s;
- memset(&r, 0, sizeof(r));
+ zero(r);
l = ring_peek(&r, vec);
assert_se(l == 0);