summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2019-08-29 16:21:31 +0900
committerJens Axboe <axboe@kernel.dk>2019-08-29 06:30:49 -0600
commitc5837eece655dd10b581ff91b74da992cd9d3214 (patch)
tree146b4b562e29e6286622206d9410297377cd9183
parenta4b7f12b99e4bf011341cecafbef2caeec436d53 (diff)
downloadfio-c5837eece655dd10b581ff91b74da992cd9d3214.tar.gz
fio-c5837eece655dd10b581ff91b74da992cd9d3214.tar.bz2
zbd: Fix initialization error message
Fix the error message on zbd_create_zone_info() failures to a more generic message rather than indicating a BLKREPORTZONE ioctl error. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--zbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zbd.c b/zbd.c
index 09ddcca4..eeaeaa91 100644
--- a/zbd.c
+++ b/zbd.c
@@ -559,7 +559,7 @@ static int zbd_init_zone_info(struct thread_data *td, struct fio_file *file)
ret = zbd_create_zone_info(td, file);
if (ret < 0)
- td_verror(td, -ret, "BLKREPORTZONE failed");
+ td_verror(td, -ret, "zbd_create_zone_info() failed");
return ret;
}