From: Christoph Hellwig Date: Wed, 22 Oct 2025 08:52:03 +0000 (+0200) Subject: xfs_copy: improve the error message when mkfs is in progress X-Git-Tag: v6.18.0~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5523d4575bb00abaadf5b7821246f1ebdc2a173;p=thirdparty%2Fxfsprogs-dev.git xfs_copy: improve the error message when mkfs is in progress Indicate the correct reason for the failure instead of the same message as for the generic error condition just above. Signed-off-by: Christoph Hellwig Reviewed-by: Andrey Albershteyn --- diff --git a/copy/xfs_copy.c b/copy/xfs_copy.c index 07957e00..3ba9a07e 100644 --- a/copy/xfs_copy.c +++ b/copy/xfs_copy.c @@ -759,7 +759,7 @@ main(int argc, char **argv) "%s: Aborting.\n"), progname, source_name, progname); exit(1); } else if (mp->m_sb.sb_inprogress) { - do_log(_("%s %s filesystem failed to initialize\n" + do_log(_("%s mkfs for %s filesystem still in progress\n" "%s: Aborting.\n"), progname, source_name, progname); exit(1); } else if (mp->m_sb.sb_logstart == 0) {