hrev46884 adds 1 changeset to branch 'master' old head: 67d06c88020cf9a6dac2718b8ca18544325e4397 new head: 891babcf2986c3157276f5c70f1cf019d393caf9 overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=891babc+%5E67d06c8 ---------------------------------------------------------------------------- 891babc: AHCI: fixed broken debug output. * Thanks Urias! [ Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev46884 Commit: 891babcf2986c3157276f5c70f1cf019d393caf9 URL: http://cgit.haiku-os.org/haiku/commit/?id=891babc Author: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> Date: Mon Feb 17 20:14:27 2014 UTC ---------------------------------------------------------------------------- 1 file changed, 1 insertion(+), 1 deletion(-) src/add-ons/kernel/busses/scsi/ahci/ahci_port.cpp | 2 +- ---------------------------------------------------------------------------- diff --git a/src/add-ons/kernel/busses/scsi/ahci/ahci_port.cpp b/src/add-ons/kernel/busses/scsi/ahci/ahci_port.cpp index ece7e70..5f7933f 100644 --- a/src/add-ons/kernel/busses/scsi/ahci/ahci_port.cpp +++ b/src/add-ons/kernel/busses/scsi/ahci/ahci_port.cpp @@ -897,7 +897,7 @@ dprintf("TRIM AHCI:\n"); for (uint32 i = 0; i < lbaRangeCount; i++) { uint64 value = B_HOST_TO_LENDIAN_INT64(lbaRanges[i]); dprintf("[3%" B_PRIu32 "] %" B_PRIu64 " : %" B_PRIu64 "\n", i, - value >> 48, value & ((uint64)1 << 48) - 1); + value >> 48, value & (((uint64)1 << 48) - 1)); } sata_request sreq;