mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
Don't accidently skip every second line when calculating the
idle time. MFC after: 2 weeks
This commit is contained in:
parent
08e09c6e13
commit
a88289fcb9
1 changed files with 0 additions and 1 deletions
|
|
@ -488,7 +488,6 @@ sender_process(void)
|
|||
for (we = mywd.wd_we; we < wend; we++) {
|
||||
if (stat(we->we_utmp.out_line, &stb) >= 0)
|
||||
we->we_idle = htonl(now - stb.st_atime);
|
||||
we++;
|
||||
}
|
||||
(void) getloadavg(avenrun,
|
||||
sizeof(avenrun) / sizeof(avenrun[0]));
|
||||
|
|
|
|||
Loading…
Reference in a new issue