summaryrefslogtreecommitdiff
path: root/testsuite/libsmbclient/src/lseek
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/libsmbclient/src/lseek')
-rw-r--r--testsuite/libsmbclient/src/lseek/lseek_1.c2
-rw-r--r--testsuite/libsmbclient/src/lseek/lseek_2.c2
-rw-r--r--testsuite/libsmbclient/src/lseek/lseek_3.c4
-rw-r--r--testsuite/libsmbclient/src/lseek/lseek_4.c4
-rw-r--r--testsuite/libsmbclient/src/lseek/lseek_5.c4
-rw-r--r--testsuite/libsmbclient/src/lseek/lseek_6.c4
-rw-r--r--testsuite/libsmbclient/src/lseek/lseek_7.c4
-rw-r--r--testsuite/libsmbclient/src/lseek/lseek_8.c4
8 files changed, 14 insertions, 14 deletions
diff --git a/testsuite/libsmbclient/src/lseek/lseek_1.c b/testsuite/libsmbclient/src/lseek/lseek_1.c
index 2f4f865049..b6a6a535b6 100644
--- a/testsuite/libsmbclient/src/lseek/lseek_1.c
+++ b/testsuite/libsmbclient/src/lseek/lseek_1.c
@@ -32,7 +32,7 @@ int main(int argc, char** argv)
int err = -1;
int fd = 0;
- bzero(g_workgroup,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
if ( argc == 4 )
{
diff --git a/testsuite/libsmbclient/src/lseek/lseek_2.c b/testsuite/libsmbclient/src/lseek/lseek_2.c
index b4f2eba36b..e6179ebc9c 100644
--- a/testsuite/libsmbclient/src/lseek/lseek_2.c
+++ b/testsuite/libsmbclient/src/lseek/lseek_2.c
@@ -32,7 +32,7 @@ int main(int argc, char** argv)
int err = -1;
int fd = 0;
- bzero(g_workgroup,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
if ( argc == 4 )
{
diff --git a/testsuite/libsmbclient/src/lseek/lseek_3.c b/testsuite/libsmbclient/src/lseek/lseek_3.c
index 158c4604f1..1d25337dc4 100644
--- a/testsuite/libsmbclient/src/lseek/lseek_3.c
+++ b/testsuite/libsmbclient/src/lseek/lseek_3.c
@@ -35,8 +35,8 @@ int main(int argc, char** argv)
char url[MAX_BUFF_SIZE];
char* message;
- 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 == 6 )
{
diff --git a/testsuite/libsmbclient/src/lseek/lseek_4.c b/testsuite/libsmbclient/src/lseek/lseek_4.c
index 158c4604f1..1d25337dc4 100644
--- a/testsuite/libsmbclient/src/lseek/lseek_4.c
+++ b/testsuite/libsmbclient/src/lseek/lseek_4.c
@@ -35,8 +35,8 @@ int main(int argc, char** argv)
char url[MAX_BUFF_SIZE];
char* message;
- 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 == 6 )
{
diff --git a/testsuite/libsmbclient/src/lseek/lseek_5.c b/testsuite/libsmbclient/src/lseek/lseek_5.c
index 66367044b3..dcd9e7dcc1 100644
--- a/testsuite/libsmbclient/src/lseek/lseek_5.c
+++ b/testsuite/libsmbclient/src/lseek/lseek_5.c
@@ -35,8 +35,8 @@ int main(int argc, char** argv)
char url[MAX_BUFF_SIZE];
char* message;
- 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 == 6 )
{
diff --git a/testsuite/libsmbclient/src/lseek/lseek_6.c b/testsuite/libsmbclient/src/lseek/lseek_6.c
index 68c3bfc22d..776742dece 100644
--- a/testsuite/libsmbclient/src/lseek/lseek_6.c
+++ b/testsuite/libsmbclient/src/lseek/lseek_6.c
@@ -35,8 +35,8 @@ int main(int argc, char** argv)
char url[MAX_BUFF_SIZE];
char* message;
- 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 == 6 )
{
diff --git a/testsuite/libsmbclient/src/lseek/lseek_7.c b/testsuite/libsmbclient/src/lseek/lseek_7.c
index 17f172bb7b..30cfa58805 100644
--- a/testsuite/libsmbclient/src/lseek/lseek_7.c
+++ b/testsuite/libsmbclient/src/lseek/lseek_7.c
@@ -35,8 +35,8 @@ int main(int argc, char** argv)
char url[MAX_BUFF_SIZE];
char* message;
- 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 == 6 )
{
diff --git a/testsuite/libsmbclient/src/lseek/lseek_8.c b/testsuite/libsmbclient/src/lseek/lseek_8.c
index 2460a4c067..d778dcb578 100644
--- a/testsuite/libsmbclient/src/lseek/lseek_8.c
+++ b/testsuite/libsmbclient/src/lseek/lseek_8.c
@@ -35,8 +35,8 @@ int main(int argc, char** argv)
char url[MAX_BUFF_SIZE];
char* message;
- 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 == 6 )
{