diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-01-24 14:53:43 -0900 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-01-24 14:53:43 -0900 |
| commit | 631957f1e9cccf64b281cb568aaac92d3d1517c0 (patch) | |
| tree | 809af7ac107e61a279e9b20f62745575c8e45ab4 /tests/test-array-queue.c | |
| parent | 0e2397e10638610542e0f058a0334ae2cf0beac8 (diff) | |
| download | tinyrad-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.c | 2 |
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 | { |
