summaryrefslogtreecommitdiff
path: root/testsuite/libsmbclient/src/mkdir
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/libsmbclient/src/mkdir')
-rw-r--r--testsuite/libsmbclient/src/mkdir/mkdir_1.c4
-rw-r--r--testsuite/libsmbclient/src/mkdir/mkdir_2.c4
-rw-r--r--testsuite/libsmbclient/src/mkdir/mkdir_3.c4
-rw-r--r--testsuite/libsmbclient/src/mkdir/mkdir_4.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/testsuite/libsmbclient/src/mkdir/mkdir_1.c b/testsuite/libsmbclient/src/mkdir/mkdir_1.c
index 07e11cb9dc..0c1dfe3ce9 100644
--- a/testsuite/libsmbclient/src/mkdir/mkdir_1.c
+++ b/testsuite/libsmbclient/src/mkdir/mkdir_1.c
@@ -31,8 +31,8 @@ int main(int argc, char** argv)
int err = -1;
char url[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/mkdir/mkdir_2.c b/testsuite/libsmbclient/src/mkdir/mkdir_2.c
index 1acd68d220..42fefa6734 100644
--- a/testsuite/libsmbclient/src/mkdir/mkdir_2.c
+++ b/testsuite/libsmbclient/src/mkdir/mkdir_2.c
@@ -31,8 +31,8 @@ int main(int argc, char** argv)
int err = -1;
char url[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/mkdir/mkdir_3.c b/testsuite/libsmbclient/src/mkdir/mkdir_3.c
index 272da51f89..fa8038748b 100644
--- a/testsuite/libsmbclient/src/mkdir/mkdir_3.c
+++ b/testsuite/libsmbclient/src/mkdir/mkdir_3.c
@@ -31,8 +31,8 @@ int main(int argc, char** argv)
int err = -1;
char url[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/mkdir/mkdir_4.c b/testsuite/libsmbclient/src/mkdir/mkdir_4.c
index dcbd5949eb..11cc51927a 100644
--- a/testsuite/libsmbclient/src/mkdir/mkdir_4.c
+++ b/testsuite/libsmbclient/src/mkdir/mkdir_4.c
@@ -31,8 +31,8 @@ int main(int argc, char** argv)
int err = -1;
char url[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 )
{