summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2021-07-14 19:25:04 +0200
committerBenBE <BenBE@geshi.org>2021-07-15 06:57:24 +0200
commit279140db218ed5f5283c6185a416abb8e4a0df8c (patch)
tree3c935724d588fac1c4b64825eb56865172bd0cc3
parent976c6123f41492aaf613b9d172eef1842fb7b0a3 (diff)
Align descriptive comments
-rw-r--r--generic/gettime.c2
-rw-r--r--solaris/SolarisProcessList.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/generic/gettime.c b/generic/gettime.c
index 3b4b6310..af06ef34 100644
--- a/generic/gettime.c
+++ b/generic/gettime.c
@@ -26,7 +26,7 @@ void Generic_gettime_realtime(struct timeval* tvp, uint64_t* msec) {
*msec = 0;
}
-#else /* lower resolution gettimeofday(2) is always available */
+#else /* lower resolution gettimeofday(2) is always available */
struct timeval tv;
if (gettimeofday(&tv, NULL) == 0) {
diff --git a/solaris/SolarisProcessList.c b/solaris/SolarisProcessList.c
index b9849e57..daba232b 100644
--- a/solaris/SolarisProcessList.c
+++ b/solaris/SolarisProcessList.c
@@ -380,8 +380,8 @@ static int SolarisProcessList_walkproc(psinfo_t* _psinfo, lwpsinfo_t* _lwpsinfo,
free_and_xStrdup(&proc->tty_name, name);
}
- proc->m_resident = _psinfo->pr_rssize; // KB
- proc->m_virt = _psinfo->pr_size; // KB
+ proc->m_resident = _psinfo->pr_rssize; // KB
+ proc->m_virt = _psinfo->pr_size; // KB
if (proc->st_uid != _psinfo->pr_euid) {
proc->st_uid = _psinfo->pr_euid;