Update io engine comments
[fio.git] / engines / net.c
index c2f45e5f1a870510af6ff09d18f0ccc355e5dbf6..51bc671fc3a1ba23a0e60ce91f80cc375db0990d 100644 (file)
@@ -1,5 +1,8 @@
 /*
- * Transfer data over the net.
+ * net engine
+ *
+ * IO engine that reads/writes to/from sockets.
+ *
  */
 #include <stdio.h>
 #include <stdlib.h>
@@ -239,9 +242,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;
        }