chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: install all required libnss modules
[elogind.git]
/
src
/
test
/
test-ring.c
diff --git
a/src/test/test-ring.c
b/src/test/test-ring.c
index 880815811cad056dc17e3044f51057a26504fb10..a9dd01ca01b722291c578a8b84d9f18722f0fa7d 100644
(file)
--- a/
src/test/test-ring.c
+++ b/
src/test/test-ring.c
@@
-31,12
+31,12
@@
static void test_ring(void) {
static const char buf[8192];
-
struct r
ing r;
+
R
ing r;
size_t l;
struct iovec vec[2];
int s;
-
memset(&r, 0, sizeof(r)
);
+
zero(r
);
l = ring_peek(&r, vec);
assert_se(l == 0);