[LTP] [PATCH 5/8] tst_test.c: Change needs_tmpdir() return type to bool

Petr Vorel pvorel@suse.cz
Fri Nov 7 11:29:36 CET 2025


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

diff --git a/lib/tst_test.c b/lib/tst_test.c
index 449ddb6ba5..05d8e59894 100644
--- a/lib/tst_test.c
+++ b/lib/tst_test.c
@@ -1108,7 +1108,7 @@ static bool results_equal(struct results *a, struct results *b)
 	return true;
 }
 
-static int needs_tmpdir(void)
+static bool needs_tmpdir(void)
 {
 	return tst_test->needs_tmpdir ||
 	       tst_test->needs_device ||
-- 
2.51.0



More information about the ltp mailing list