mirror of https://github.com/xzeldon/htop.git
Align descriptive comments
This commit is contained in:
parent
976c6123f4
commit
279140db21
|
@ -26,7 +26,7 @@ void Generic_gettime_realtime(struct timeval* tvp, uint64_t* msec) {
|
||||||
*msec = 0;
|
*msec = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else /* lower resolution gettimeofday(2) is always available */
|
#else /* lower resolution gettimeofday(2) is always available */
|
||||||
|
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
if (gettimeofday(&tv, NULL) == 0) {
|
if (gettimeofday(&tv, NULL) == 0) {
|
||||||
|
|
|
@ -380,8 +380,8 @@ static int SolarisProcessList_walkproc(psinfo_t* _psinfo, lwpsinfo_t* _lwpsinfo,
|
||||||
free_and_xStrdup(&proc->tty_name, name);
|
free_and_xStrdup(&proc->tty_name, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
proc->m_resident = _psinfo->pr_rssize; // KB
|
proc->m_resident = _psinfo->pr_rssize; // KB
|
||||||
proc->m_virt = _psinfo->pr_size; // KB
|
proc->m_virt = _psinfo->pr_size; // KB
|
||||||
|
|
||||||
if (proc->st_uid != _psinfo->pr_euid) {
|
if (proc->st_uid != _psinfo->pr_euid) {
|
||||||
proc->st_uid = _psinfo->pr_euid;
|
proc->st_uid = _psinfo->pr_euid;
|
||||||
|
|
Loading…
Reference in New Issue