FreeBSD Bugzilla – Attachment 156290 Details for
Bug 199891
[patch] 'vmstat -i' output is wrong on RPi
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to vmstat.c
vmstat.c.patch (text/plain), 454 bytes, created by
Jia-Shiun Li
on 2015-05-03 16:24:29 UTC
(
hide
)
Description:
patch to vmstat.c
Filename:
MIME Type:
Creator:
Jia-Shiun Li
Created:
2015-05-03 16:24:29 UTC
Size:
454 bytes
patch
obsolete
>--- /personal/code/freebsd/usr.bin/vmstat/vmstat.c 2015-02-25 12:47:55.654651030 +0800 >+++ vmstat.c 2015-05-03 23:32:40.725299000 +0800 >@@ -1252,7 +1252,8 @@ > /* Determine the length of the longest interrupt name */ > intrname = intrnames; > istrnamlen = strlen("interrupt"); >- while(*intrname != '\0') { >+ while((*intrname != '\0') && >+ (inamlen > (intrname-intrnames))) { > clen = strlen(intrname); > if (clen > istrnamlen) > istrnamlen = clen;
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 199891
:
156288
| 156290