+ /* generate a unique pathname for the log file using hostname */
+ log_pathname = malloc(PATH_MAX+10);
+ if (!log_pathname) {
+ log_err("fio: memory allocation of unique pathname failed");
+ return -1;
+ }
+ sprintf(log_pathname, "%s.%s", pdu->name, client->hostname);
+