mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
Merge pull request #1324 from pugs/master
Fixup WWN bytes for big-endian systems
This commit is contained in:
commit
c1f330a1f4
@ -484,6 +484,10 @@ int main(int argc, char *argv[])
|
||||
disk_identify_fixup_uint16(identify.byte, 90); /* time required for enhanced SECURITY ERASE UNIT */
|
||||
disk_identify_fixup_uint16(identify.byte, 91); /* current APM values */
|
||||
disk_identify_fixup_uint16(identify.byte, 94); /* current AAM value */
|
||||
disk_identify_fixup_uint16(identify.byte, 108); /* wwn */
|
||||
disk_identify_fixup_uint16(identify.byte, 109); /* wwn */
|
||||
disk_identify_fixup_uint16(identify.byte, 110); /* wwn */
|
||||
disk_identify_fixup_uint16(identify.byte, 111); /* wwn */
|
||||
disk_identify_fixup_uint16(identify.byte, 128); /* device lock function */
|
||||
disk_identify_fixup_uint16(identify.byte, 217); /* nominal media rotation rate */
|
||||
memcpy(&id, identify.byte, sizeof id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user