summaryrefslogtreecommitdiffstats
path: root/unsupported
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-10-13 14:26:40 +0200
committercgzones <cgzones@googlemail.com>2020-10-16 19:23:40 +0200
commita63cfc8b7c172aa7e849521a479d39af737681a8 (patch)
treeccc59220f05cfa581ee09018a90ab72c6ef4aa28 /unsupported
parent783be7711db0081a77fbcf84fbb63ab2a31ccc05 (diff)
Refactor generating starttime string into Process class
Diffstat (limited to 'unsupported')
-rw-r--r--unsupported/UnsupportedProcessList.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/UnsupportedProcessList.c b/unsupported/UnsupportedProcessList.c
index 3531d0f9..40a24c28 100644
--- a/unsupported/UnsupportedProcessList.c
+++ b/unsupported/UnsupportedProcessList.c
@@ -56,8 +56,8 @@ void ProcessList_goThroughEntries(ProcessList* super) {
proc->priority = 0;
proc->nice = 0;
proc->nlwp = 1;
- strncpy(proc->starttime_show, "Jun 01 ", sizeof(proc->starttime_show));
proc->starttime_ctime = 1433116800; // Jun 01, 2015
+ Process_fillStarttimeBuffer(proc);
proc->m_size = 100;
proc->m_resident = 100;

© 2014-2024 Faster IT GmbH | imprint | privacy policy