procnum = i;
if (fork() == 0) {
char *myname;
- const char *hostname=NULL, *sharename;
+ char *hostname=NULL, *sharename;
pid_t mypid = getpid();
srandom(((int)mypid) ^ ((int)time(NULL)));
lp_set_cmdline("torture:binding", argv_new[1]);
} else {
char *binding = NULL;
- const char *host = NULL, *share = NULL;
+ char *host = NULL, *share = NULL;
if (!smbcli_parse_unc(argv_new[1], NULL, &host, &share)) {
d_printf("Invalid option: %s is not a valid torture target (share or binding string)\n\n", argv_new[1]);