From 66a0f18410504be4e16c773bea546944efd24b66 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 23 Jan 2017 10:39:53 -0800 Subject: [PATCH] Another fix for Linux build --- src/proc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proc.cpp b/src/proc.cpp index ddaaf4338..bdb0c9315 100644 --- a/src/proc.cpp +++ b/src/proc.cpp @@ -699,7 +699,7 @@ void proc_update_jiffies() { for (job = j.next(); job; job = j.next()) { for (process_ptr_t &p : job->processes) { gettimeofday(&p->last_time, 0); - p->last_jiffies = proc_get_jiffies(p); + p->last_jiffies = proc_get_jiffies(p.get()); } } }