diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-11 16:58:45 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-11 16:58:45 +0100 |
commit | eccaf899331ecbe3807739b6356ebba3d71480c7 (patch) | |
tree | 7d9968c3ca604ded8b165b3463237d1822365e55 /src/test/test-pty.c | |
parent | f7340ab269828d917cd1281e33e6dd4fdfee67b3 (diff) |
tree-wide: use our memset() macros instead of memset() itself
Diffstat (limited to 'src/test/test-pty.c')
-rw-r--r-- | src/test/test-pty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-pty.c b/src/test/test-pty.c index ed23e9f0f1..cab569a9da 100644 --- a/src/test/test-pty.c +++ b/src/test/test-pty.c @@ -100,7 +100,7 @@ static void test_pty(void) { Pty *pty; rcvsiz = 0; - memset(rcvbuf, 0, sizeof(rcvbuf)); + zero(rcvbuf); assert_se(sd_event_default(&event) >= 0); |