proc: /proc filesystem check error message
Subsystems (3)
PATCH 1/1 proc: /proc filesystem check error message
Improve /proc filesystem check error message when filesystem type is unexpected
Signed-off-by Mallikarjun Thammanavar <[email protected]>
--- tools/testing/selftests/proc/read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/proc/read.c +1 -1
@@ -138,7 +138,7 @@ int main(void)return 1 ; }if (sfs.f_type !=0x9fa0 ) { -fprintf (stderr,"error: unexpected f_type %lx\n" , (long )sfs.f_type); +fprintf (stderr,"error: /proc is not procfs (f_type = %lx)\n" , (long )sfs.f_type);return 2 ; }
Signature · 1 line
2.43.0