aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/test-array-queue.c
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2022-01-24 14:53:43 -0900
committerDavid M. Syzdek <david@syzdek.net>2022-01-24 14:53:43 -0900
commit631957f1e9cccf64b281cb568aaac92d3d1517c0 (patch)
tree809af7ac107e61a279e9b20f62745575c8e45ab4 /tests/test-array-queue.c
parent0e2397e10638610542e0f058a0334ae2cf0beac8 (diff)
downloadtinyrad-631957f1e9cccf64b281cb568aaac92d3d1517c0.tar.gz
tinyrad-631957f1e9cccf64b281cb568aaac92d3d1517c0.tar.bz2
tinyrad-631957f1e9cccf64b281cb568aaac92d3d1517c0.tar.xz
tinyrad-631957f1e9cccf64b281cb568aaac92d3d1517c0.zip
tests: replacing bzero() with memset()
Diffstat (limited to 'tests/test-array-queue.c')
-rw-r--r--tests/test-array-queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-array-queue.c b/tests/test-array-queue.c
index fd5c968..909e9ed 100644
--- a/tests/test-array-queue.c
+++ b/tests/test-array-queue.c
@@ -212,7 +212,7 @@ int main( int argc, char * argv[] )
212 212
213 // initialize test data 213 // initialize test data
214 our_verbose(opts, "initializing test data ..."); 214 our_verbose(opts, "initializing test data ...");
215 bzero(data, sizeof(data)); 215 memset(data, 0, sizeof(data));
216 for(len = 0; ((test_strs[len])); len++); 216 for(len = 0; ((test_strs[len])); len++);
217 for(pos = 0; (pos < MY_LIST_LEN); pos++) 217 for(pos = 0; (pos < MY_LIST_LEN); pos++)
218 { 218 {