nr_files conflict with filename
[fio.git] / engines / net.c
index c2f45e5f1a870510af6ff09d18f0ccc355e5dbf6..cd1fda9f54372526ddf0709c31941de77675cdd5 100644 (file)
@@ -239,9 +239,9 @@ static int fio_netio_init(struct thread_data *td)
 
        strcpy(buf, td->filename);
 
-       sep = strchr(buf, ':');
+       sep = strchr(buf, '/');
        if (!sep) {
-               log_err("fio: bad network host:port <<%s>>\n", td->filename);
+               log_err("fio: bad network host/port <<%s>>\n", td->filename);
                return 1;
        }