projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5c925b
)
cpu: logging
author
Robert Swiecki
<robert@swiecki.net>
Wed, 21 Jun 2017 22:42:04 +0000
(
00:42
+0200)
committer
Robert Swiecki
<robert@swiecki.net>
Wed, 21 Jun 2017 22:42:04 +0000
(
00:42
+0200)
cpu.c
patch
|
blob
|
history
diff --git
a/cpu.c
b/cpu.c
index d8a989e691e8bb1d07e6b0fd14fc3662c38cab37..0ae69ea31daa1a38b756a5f6a0e18c4987fd8965 100644
(file)
--- a/
cpu.c
+++ b/
cpu.c
@@
-39,7
+39,7
@@
static void cpuSetRandomCpu(cpu_set_t * mask, size_t mask_size, size_t cpu_num)
for (;;) {
uint64_t n = utilRnd64() % cpu_num;
if (!CPU_ISSET_S(n, mask_size, mask)) {
- LOG_D("Setting allowed CPU
:
%" PRIu64 " of [0-%zu]", n, cpu_num - 1);
+ LOG_D("Setting allowed CPU
#:
%" PRIu64 " of [0-%zu]", n, cpu_num - 1);
CPU_SET_S(n, mask_size, mask);
break;
}