X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=engines%2Ffalloc.c;h=17a901ad93f54e08802d88260d0c48a6bde9070f;hb=e53cf97beb6c07ea1dedc218058675cc291e9f2a;hp=8025085baddae612c6f9f6f174a7ec0aaf8b29cc;hpb=de8f6de97438d5664cd8765e60102b9109a273e2;p=fio.git diff --git a/engines/falloc.c b/engines/falloc.c index 8025085b..17a901ad 100644 --- a/engines/falloc.c +++ b/engines/falloc.c @@ -43,9 +43,10 @@ open_again: if (f->fd == -1) { char buf[FIO_VERROR_SIZE]; - int __e = errno; + int e = errno; + snprintf(buf, sizeof(buf), "open(%s)", f->file_name); - td_verror(td, __e, buf); + td_verror(td, e, buf); } if (!from_hash && f->fd != -1) {