FreeBSD Bugzilla – Attachment 7477 Details for
Bug 16206
PATCH: vmstat column alignment, %ll not supported in -stable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 973 bytes, created by
jc
on 2000-01-19 16:00:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
jc
Created:
2000-01-19 16:00:01 UTC
Size:
973 bytes
patch
obsolete
>Index: vmstat.c >=================================================================== >RCS file: /usr/cvs/src/usr.bin/vmstat/vmstat.c,v >retrieving revision 1.29.2.3 >diff -u -r1.29.2.3 vmstat.c >--- vmstat.c 2000/01/18 17:39:38 1.29.2.3 >+++ vmstat.c 2000/01/19 15:43:43 >@@ -774,18 +774,18 @@ > errx(1, "malloc"); > kread(X_INTRCNT, intrcnt, (size_t)nintr); > kread(X_INTRNAMES, intrname, (size_t)inamlen); >- (void)printf("interrupt total rate\n"); >+ (void)printf("interrupt total rate\n"); > inttotal = 0; > nintr /= sizeof(long); > while (--nintr >= 0) { > if (*intrcnt) >- (void)printf("%-12s %8lu %8lu\n", intrname, >+ (void)printf("%-12s %10lu %8lu\n", intrname, > *intrcnt, *intrcnt / uptime); > intrname += strlen(intrname) + 1; > inttotal += *intrcnt++; > } >- (void)printf("Total %8llu %8llu\n", inttotal, >- inttotal / (u_int64_t) uptime); >+ (void)printf("Total %10qu %8qu\n", inttotal, >+ inttotal / uptime); > } > > void
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 16206
: 7477