summaryrefslogtreecommitdiffstats
path: root/src/osx
diff options
context:
space:
mode:
authorJos Dehaes <jos.dehaes@gmail.com>2021-10-09 21:18:25 +0200
committerJos Dehaes <jos.dehaes@gmail.com>2021-10-09 21:18:25 +0200
commit98036db660e306626d41fb1b67d9938d9ffe168a (patch)
treee9234726d348dcf486aaae5cf8b72eb190c21acd /src/osx
parentaae7ae35caec64ba611d9b78b24c0ad2716f333e (diff)
remove unnecessary uptime param
Diffstat (limited to 'src/osx')
-rw-r--r--src/osx/btop_collect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osx/btop_collect.cpp b/src/osx/btop_collect.cpp
index 23a9488..98e1baa 100644
--- a/src/osx/btop_collect.cpp
+++ b/src/osx/btop_collect.cpp
@@ -1041,7 +1041,7 @@ namespace Proc {
}
//* Get detailed info for selected process
- void _collect_details(const size_t pid, const uint64_t uptime, vector<proc_info> &procs) {
+ void _collect_details(const size_t pid, vector<proc_info> &procs) {
if (pid != detailed.last_pid) {
detailed = {};
detailed.last_pid = pid;
@@ -1206,7 +1206,7 @@ namespace Proc {
//? Update the details info box for process if active
if (show_detailed and got_detailed) {
- _collect_details(detailed_pid, round(uptime), current_procs);
+ _collect_details(detailed_pid, current_procs);
} else if (show_detailed and not got_detailed and detailed.status != "Dead") {
detailed.status = "Dead";
redraw = true;