summaryrefslogtreecommitdiff
path: root/testsuite/libsmbclient/src/telldir/telldir_2.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/libsmbclient/src/telldir/telldir_2.c')
-rw-r--r--testsuite/libsmbclient/src/telldir/telldir_2.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/libsmbclient/src/telldir/telldir_2.c b/testsuite/libsmbclient/src/telldir/telldir_2.c
index 45a4d158b0..3f9a24dc9c 100644
--- a/testsuite/libsmbclient/src/telldir/telldir_2.c
+++ b/testsuite/libsmbclient/src/telldir/telldir_2.c
@@ -42,11 +42,11 @@ int main(int argc, char** argv)
char file_url[MAX_BUFF_SIZE];
char dir_url[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 )
{