FreeBSD Bugzilla – Attachment 24588 Details for
Bug 42028
[patch] devel/libgtop2 displays wrong swap-info
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 434 bytes, created by
edwin
on 2002-08-26 11:40:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
edwin
Created:
2002-08-26 11:40:04 UTC
Size:
434 bytes
patch
obsolete
>--- sysdeps/freebsd/swap.c-old Mon Aug 26 20:18:07 2002 >+++ sysdeps/freebsd/swap.c Mon Aug 26 20:19:18 2002 >@@ -369,8 +369,8 @@ > > buf->flags = _glibtop_sysdeps_swap; > >- buf->used = kvmsw[nswdev].ksw_used; >- buf->total = kvmsw[nswdev].ksw_total; >+ buf->used = kvmsw[nswdev].ksw_used * getpagesize(); >+ buf->total = kvmsw[nswdev].ksw_total * getpagesize(); > > buf->free = buf->total - buf->used; > >And bump the revision of the port:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 42028
: 24588 |
24589