Skip to content

Commit 3ee99d5

Browse files
committed
GPU: Fix incorrect printf syntax
1 parent 76a36b7 commit 3ee99d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

GPU/GPUTracking/Global/GPUChainTrackingClusterizer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ void GPUChainTracking::TPCClusterizerEnsureZSOffsets(uint32_t iSector, const CfF
124124
}
125125

126126
if (pagesEndpoint != nPagesExpected) {
127-
GPUFatal("Sector %d, Endpoint %d, Fragment %d: TPC raw page count mismatch: expected %d / buffered %lu", iSector, endpoint, fragment.index, pagesEndpoint, nPagesExpected);
127+
GPUFatal("Sector %d, Endpoint %d, Fragment %d: TPC raw page count mismatch: expected %d / buffered %u", iSector, endpoint, fragment.index, pagesEndpoint, nPagesExpected);
128128
}
129129

130130
if (nAdcDecoded != nAdcsExpected) {

GPU/GPUTracking/Global/GPUChainTrackingDebugAndProfiling.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,13 +258,13 @@ void GPUChainTracking::SanityCheck()
258258
const auto& ref = trk.getClusterRef();
259259
if (ref.getFirstEntry() > mIOPtrs.nOutputClusRefsTPCO2) {
260260
if (nErrors++ < 1000) {
261-
GPUError("Invalid getFirst() entry in cluster reference: %u > $u", ref.getFirstEntry(), mIOPtrs.nOutputClusRefsTPCO2);
261+
GPUError("Invalid getFirst() entry in cluster reference: %u > %u", ref.getFirstEntry(), mIOPtrs.nOutputClusRefsTPCO2);
262262
continue;
263263
}
264264
}
265265
if (ref.getFirstEntry() + (ref.getEntries() * 3 + 1) / 2 > mIOPtrs.nOutputClusRefsTPCO2) {
266266
if (nErrors++ < 1000) {
267-
GPUError("Invalid getEntries() entry in cluster reference: %u > $u", ref.getFirstEntry() + (ref.getEntries() * 3 + 1) / 2, mIOPtrs.nOutputClusRefsTPCO2);
267+
GPUError("Invalid getEntries() entry in cluster reference: %u > %u", ref.getFirstEntry() + (ref.getEntries() * 3 + 1) / 2, mIOPtrs.nOutputClusRefsTPCO2);
268268
continue;
269269
}
270270
}

0 commit comments

Comments
 (0)