summaryrefslogtreecommitdiff
path: root/testsuite/libsmbclient/src/chown
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/libsmbclient/src/chown')
-rw-r--r--testsuite/libsmbclient/src/chown/chown_1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/libsmbclient/src/chown/chown_1.c b/testsuite/libsmbclient/src/chown/chown_1.c
index 3d46ba2a8b..4a317c073b 100644
--- a/testsuite/libsmbclient/src/chown/chown_1.c
+++ b/testsuite/libsmbclient/src/chown/chown_1.c
@@ -32,8 +32,8 @@ int main(int argc, char** argv)
int fd = 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 )
{