summaryrefslogtreecommitdiff
path: root/testsuite/libsmbclient/src/getdents
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/libsmbclient/src/getdents')
-rw-r--r--testsuite/libsmbclient/src/getdents/getdents_1.c4
-rw-r--r--testsuite/libsmbclient/src/getdents/getdents_2.c4
-rw-r--r--testsuite/libsmbclient/src/getdents/getdents_3.c14
-rw-r--r--testsuite/libsmbclient/src/getdents/getdents_4.c10
-rw-r--r--testsuite/libsmbclient/src/getdents/getdents_5.c10
5 files changed, 21 insertions, 21 deletions
diff --git a/testsuite/libsmbclient/src/getdents/getdents_1.c b/testsuite/libsmbclient/src/getdents/getdents_1.c
index fbbd78dfd0..aea6ad0dc8 100644
--- a/testsuite/libsmbclient/src/getdents/getdents_1.c
+++ b/testsuite/libsmbclient/src/getdents/getdents_1.c
@@ -39,8 +39,8 @@ int main(int argc, char** argv)
char url[MAX_BUFF_SIZE];
char dirbuff[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 5 )
{
diff --git a/testsuite/libsmbclient/src/getdents/getdents_2.c b/testsuite/libsmbclient/src/getdents/getdents_2.c
index 6b8ddb0905..921486cd07 100644
--- a/testsuite/libsmbclient/src/getdents/getdents_2.c
+++ b/testsuite/libsmbclient/src/getdents/getdents_2.c
@@ -39,8 +39,8 @@ int main(int argc, char** argv)
char url[MAX_BUFF_SIZE];
char dirbuff[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 5 )
{
diff --git a/testsuite/libsmbclient/src/getdents/getdents_3.c b/testsuite/libsmbclient/src/getdents/getdents_3.c
index 2febd26f7a..fefc75676c 100644
--- a/testsuite/libsmbclient/src/getdents/getdents_3.c
+++ b/testsuite/libsmbclient/src/getdents/getdents_3.c
@@ -49,11 +49,11 @@ int main(int argc, char** argv)
char dir_url[MAX_BUFF_SIZE];
char dirbuff[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
- bzero(file_url,MAX_BUFF_SIZE);
- bzero(dir_url,MAX_BUFF_SIZE);
- bzero(buff,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
+ memset(file_url, '\0', MAX_BUFF_SIZE);
+ memset(dir_url, '\0', MAX_BUFF_SIZE);
+ memset(buff, '\0', MAX_BUFF_SIZE);
if ( argc == 6 )
{
@@ -96,8 +96,8 @@ int main(int argc, char** argv)
err = 0;
i = 0;
- bzero(buff,MAX_BUFF_SIZE);
- bzero(tmp_file_ptr,MAX_BUFF_SIZE-9);
+ memset(buff, '\0', MAX_BUFF_SIZE);
+ memset(tmp_file_ptr, '\0', MAX_BUFF_SIZE-9);
while ( diramount > 0 )
{
diff --git a/testsuite/libsmbclient/src/getdents/getdents_4.c b/testsuite/libsmbclient/src/getdents/getdents_4.c
index 18be3c7521..fb6b4a7f64 100644
--- a/testsuite/libsmbclient/src/getdents/getdents_4.c
+++ b/testsuite/libsmbclient/src/getdents/getdents_4.c
@@ -46,11 +46,11 @@ int main(int argc, char** argv)
char dir_url[MAX_BUFF_SIZE];
char dirbuff[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
- bzero(file_url,MAX_BUFF_SIZE);
- bzero(dir_url,MAX_BUFF_SIZE);
- bzero(buff,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
+ memset(file_url, '\0', MAX_BUFF_SIZE);
+ memset(dir_url, '\0', MAX_BUFF_SIZE);
+ memset(buff, '\0', MAX_BUFF_SIZE);
if ( argc == 6 )
{
diff --git a/testsuite/libsmbclient/src/getdents/getdents_5.c b/testsuite/libsmbclient/src/getdents/getdents_5.c
index b641d7b859..352a1440e4 100644
--- a/testsuite/libsmbclient/src/getdents/getdents_5.c
+++ b/testsuite/libsmbclient/src/getdents/getdents_5.c
@@ -46,11 +46,11 @@ int main(int argc, char** argv)
char dir_url[MAX_BUFF_SIZE];
char dirbuff[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
- bzero(file_url,MAX_BUFF_SIZE);
- bzero(dir_url,MAX_BUFF_SIZE);
- bzero(buff,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
+ memset(file_url, '\0', MAX_BUFF_SIZE);
+ memset(dir_url, '\0', MAX_BUFF_SIZE);
+ memset(buff, '\0', MAX_BUFF_SIZE);
if ( argc == 6 )
{