aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/proc.c b/proc.c
index 94fe8dc6..5c60c5b2 100644
--- a/proc.c
+++ b/proc.c
@@ -695,6 +695,10 @@ unsigned long proc_get_jiffies( process_t *p )
{
return 0;
}
+
+ /*
+ Don't need to check exit status of fclose on read-only streams
+ */
fclose( f );
return utime+stime+cutime+cstime;