fsx: fix backwards parameters in complaint about overly long copy
[xfstests-dev.git] / ltp / fsx.c
index cd0bae55aeb887330c27f1c9ca19ffa811b8e87d..d526d294f7725d2d1a4fba0f18ffdd13805d53b0 100644 (file)
--- a/ltp/fsx.c
+++ b/ltp/fsx.c
@@ -1662,7 +1662,7 @@ do_copy_range(unsigned offset, unsigned length, unsigned dest)
                        prt("copy range: 0x%x to 0x%x at 0x%x\n", offset,
                                        offset + length, dest);
                        prt("do_copy_range: asked %u, copied %u??\n",
-                                       nr, olen);
+                                       olen, nr);
                        report_failure(161);
                } else if (nr > 0)
                        olen -= nr;