aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/iproute.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/iproute.c')
-rw-r--r--networking/libiproute/iproute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c
index 17af41f9c..bdccad69d 100644
--- a/networking/libiproute/iproute.c
+++ b/networking/libiproute/iproute.c
@@ -64,7 +64,7 @@ static unsigned get_hz(void)
64 if (hz_internal) 64 if (hz_internal)
65 return hz_internal; 65 return hz_internal;
66 66
67 fp = fopen("/proc/net/psched", "r"); 67 fp = fopen_for_read("/proc/net/psched");
68 if (fp) { 68 if (fp) {
69 unsigned nom, denom; 69 unsigned nom, denom;
70 70