diff options
Diffstat (limited to 'testsuite/libsmbclient/src/open_print_job')
-rw-r--r-- | testsuite/libsmbclient/src/open_print_job/open_print_job_1.c | 4 | ||||
-rw-r--r-- | testsuite/libsmbclient/src/open_print_job/open_print_job_2.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/libsmbclient/src/open_print_job/open_print_job_1.c b/testsuite/libsmbclient/src/open_print_job/open_print_job_1.c index cda9326ef3..d3c5d0002d 100644 --- a/testsuite/libsmbclient/src/open_print_job/open_print_job_1.c +++ b/testsuite/libsmbclient/src/open_print_job/open_print_job_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 ) { diff --git a/testsuite/libsmbclient/src/open_print_job/open_print_job_2.c b/testsuite/libsmbclient/src/open_print_job/open_print_job_2.c index 691fe2d0e1..1e7d0f18f0 100644 --- a/testsuite/libsmbclient/src/open_print_job/open_print_job_2.c +++ b/testsuite/libsmbclient/src/open_print_job/open_print_job_2.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 ) { |