From c5837eece655dd10b581ff91b74da992cd9d3214 Mon Sep 17 00:00:00 2001 From: Damien Le Moal Date: Thu, 29 Aug 2019 16:21:31 +0900 Subject: [PATCH] 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 Signed-off-by: Jens Axboe --- zbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1