summaryrefslogtreecommitdiff
path: root/testsuite/libsmbclient/src/fstat/fstat_3.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/libsmbclient/src/fstat/fstat_3.c')
-rw-r--r--testsuite/libsmbclient/src/fstat/fstat_3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/libsmbclient/src/fstat/fstat_3.c b/testsuite/libsmbclient/src/fstat/fstat_3.c
index 24118ad58b..e406ef62c9 100644
--- a/testsuite/libsmbclient/src/fstat/fstat_3.c
+++ b/testsuite/libsmbclient/src/fstat/fstat_3.c
@@ -34,8 +34,8 @@ int main(int argc, char** argv)
char url[MAX_BUFF_SIZE];
struct stat st;
- 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 )
{