Skip to content

Commit a509be0

Browse files
committed
Fix a typo.
1 parent 95a6e85 commit a509be0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

affinity/src/main/java/net/openhft/affinity/impl/LinuxHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,11 @@ public static void sched_setaffinity(final BitSet affinity) {
239239
try {
240240
if(lib.sched_setaffinity(0, size, cpuset) != 0) {
241241
throw new IllegalStateException("sched_setaffinity(0, " + size +
242-
", 0x" + Utilities.toHexString(affinity) + " failed; errno=" + Native.getLastError());
242+
", 0x" + Utilities.toHexString(affinity) + ") failed; errno=" + Native.getLastError());
243243
}
244244
} catch (LastErrorException e) {
245245
throw new IllegalStateException("sched_setaffinity(0, " + size +
246-
", 0x" + Utilities.toHexString(affinity) + " failed; errno=" + e.getErrorCode(), e);
246+
", 0x" + Utilities.toHexString(affinity) + ") failed; errno=" + e.getErrorCode(), e);
247247
}
248248
}
249249

0 commit comments

Comments
 (0)