FreeBSD Bugzilla – Attachment 214348 Details for
Bug 246357
sysutils/cciss_vol_status: Patch to fix &&/&-incorrect usage and a 1-byte buffer overrun
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Patch to fix a number of bugs in cciss_vol_status 1.12
cciss_vol_status.c.patch (text/plain), 819 bytes, created by
Peter Eriksson
on 2020-05-10 12:53:45 UTC
(
hide
)
Description:
Patch to fix a number of bugs in cciss_vol_status 1.12
Filename:
MIME Type:
Creator:
Peter Eriksson
Created:
2020-05-10 12:53:45 UTC
Size:
819 bytes
patch
obsolete
>25a26,27 >> #include <arpa/inet.h> >> >640c642 >< big_map_support = (id->controller_flags && (1<<7)); >--- >> big_map_support = (id->controller_flags & (1<<7)); >1004c1006 >< big_map_support = (id->controller_flags && (1<<7)); >--- >> big_map_support = (id->controller_flags & (1<<7)); >1101c1103 >< case 2: sprintf(raid_level, "RAID 1"); >--- >> case 2: sprintf(raid_level, "RAID 1(1+0)"); >1183c1185 >< char enclosure_sn[41]; >--- >> char enclosure_sn[42]; >2294c2296 >< printf("%35s: %d% Read / %d% Write\n", "Cache Ratio", cache_config->percent_read_cache, cache_config->percent_write_cache); >--- >> printf("%35s: %d%% Read / %d%% Write\n", "Cache Ratio", cache_config->percent_read_cache, cache_config->percent_write_cache); >2480c2482 >< return id->controller_flags && (1<<7); >--- >> return id->controller_flags & (1<<7);
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 Raw
Actions:
View
Attachments on
bug 246357
:
214348
|
214349
|
215791