summaryrefslogtreecommitdiff
path: root/testsuite/libsmbclient/src/write/write_12.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/libsmbclient/src/write/write_12.c')
-rw-r--r--testsuite/libsmbclient/src/write/write_12.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/libsmbclient/src/write/write_12.c b/testsuite/libsmbclient/src/write/write_12.c
index 6d21f889db..b45bc26e60 100644
--- a/testsuite/libsmbclient/src/write/write_12.c
+++ b/testsuite/libsmbclient/src/write/write_12.c
@@ -36,8 +36,8 @@ int main(int argc, char** argv)
char* message;
char* response;
- 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 )
{