Hi!
The way there are #ifdef directives in print_caps.c there is no return in main()
when caps are supported. Attached patch fixes this.

Signed-off-by: Cyril Hrubis [email protected]

-- 
Cyril Hrubis
[email protected]
Index: ltp-full-20100228/testcases/kernel/security/filecaps/print_caps.c
===================================================================
--- ltp-full-20100228.orig/testcases/kernel/security/filecaps/print_caps.c
+++ ltp-full-20100228/testcases/kernel/security/filecaps/print_caps.c
@@ -65,7 +65,6 @@ int main(int argc, char *argv[])
 	close(fd);
 
 	cap_free(cap);
-#else
-	return 0;
 #endif
+	return 0;
 }
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to