[LTP] [COMMITTED][PATCH 1/1] tst_mkfs.c: Fix arg order in error message

Petr Vorel pvorel@suse.cz
Wed Jan 15 12:25:09 CET 2020


This fixes remaining typos from b0a30feb0.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 lib/tst_mkfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/tst_mkfs.c b/lib/tst_mkfs.c
index a33d36a6b..5d208eceb 100644
--- a/lib/tst_mkfs.c
+++ b/lib/tst_mkfs.c
@@ -98,7 +98,7 @@ void tst_mkfs_(const char *file, const int lineno, void (cleanup_fn)(void),
 			 "%s:%d: %s not found in $PATH", file, lineno, mkfs);
 	default:
 		tst_brkm(TBROK, cleanup_fn,
-			 "%s:%d: %s failed with %i", mkfs, ret, file, lineno);
+			 "%s:%d: %s failed with %i", file, lineno, mkfs, ret);
 	}
 }
 
-- 
2.24.1



More information about the ltp mailing list