summaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorTomohiro Kusumi <tkusumi@tuxera.com>2017-06-02 22:21:27 +0300
committerJens Axboe <axboe@fb.com>2017-06-02 13:38:43 -0600
commit9af5a2450a555a725dd18e6845967cd7cf3aad64 (patch)
treef34ea07a6a7d17ce8b65981f4ecdf1b1a5f9f29f /server.c
parent40c494710bb1e9b5da1a4fc0d1452c31c7cc9da1 (diff)
downloadfio-9af5a2450a555a725dd18e6845967cd7cf3aad64.tar.gz
fio-9af5a2450a555a725dd18e6845967cd7cf3aad64.tar.bz2
use correct syscall name in log_err()
Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index 1e269c29..8a5e75d3 100644
--- a/server.c
+++ b/server.c
@@ -1279,7 +1279,7 @@ static int get_my_addr_str(int sk)
ret = getsockname(sk, sockaddr_p, &len);
if (ret) {
- log_err("fio: getsockaddr: %s\n", strerror(errno));
+ log_err("fio: getsockname: %s\n", strerror(errno));
return -1;
}