diff options
Diffstat (limited to 'testsuite/libsmbclient/src/closedir')
4 files changed, 8 insertions, 8 deletions
diff --git a/testsuite/libsmbclient/src/closedir/closedir_1.c b/testsuite/libsmbclient/src/closedir/closedir_1.c index 0485bc22be..c8092d7067 100644 --- a/testsuite/libsmbclient/src/closedir/closedir_1.c +++ b/testsuite/libsmbclient/src/closedir/closedir_1.c @@ -32,8 +32,8 @@ int main(int argc, char** argv) int dh = 0; 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/closedir/closedir_2.c b/testsuite/libsmbclient/src/closedir/closedir_2.c index cb60cf6772..25e14367f5 100644 --- a/testsuite/libsmbclient/src/closedir/closedir_2.c +++ b/testsuite/libsmbclient/src/closedir/closedir_2.c @@ -32,8 +32,8 @@ int main(int argc, char** argv) int dh = 0; 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/closedir/closedir_3.c b/testsuite/libsmbclient/src/closedir/closedir_3.c index 601a018009..7cdbb94b57 100644 --- a/testsuite/libsmbclient/src/closedir/closedir_3.c +++ b/testsuite/libsmbclient/src/closedir/closedir_3.c @@ -32,8 +32,8 @@ int main(int argc, char** argv) int dh = 0; 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/closedir/closedir_4.c b/testsuite/libsmbclient/src/closedir/closedir_4.c index ffb5c0e80f..1cc859940d 100644 --- a/testsuite/libsmbclient/src/closedir/closedir_4.c +++ b/testsuite/libsmbclient/src/closedir/closedir_4.c @@ -32,8 +32,8 @@ int main(int argc, char** argv) int dh = 0; 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 ) { |