From 621343b094c9e59e6a972cedf2e074589c45d52c Mon Sep 17 00:00:00 2001 From: Masahiro Nagano Date: Fri, 24 Jul 2026 15:25:42 +0900 Subject: [PATCH] isRealProc should return false on notype architectures Signed-off-by: Masahiro Nagano --- fs_statfs_notype.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs_statfs_notype.go b/fs_statfs_notype.go index 0bef25bd..fc16802d 100644 --- a/fs_statfs_notype.go +++ b/fs_statfs_notype.go @@ -15,8 +15,8 @@ package procfs -// isRealProc returns true on architectures that don't have a Type argument +// isRealProc returns false on architectures that don't have a Type argument // in their Statfs_t struct. func isRealProc(_ string) (bool, error) { - return true, nil + return false, nil }