diff options
Diffstat (limited to 'src/shared/numa-util.c')
-rw-r--r-- | src/shared/numa-util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shared/numa-util.c b/src/shared/numa-util.c index 4f757f0b55..a954ea349e 100644 --- a/src/shared/numa-util.c +++ b/src/shared/numa-util.c @@ -120,8 +120,7 @@ int numa_to_cpu_set(const NUMAPolicy *policy, CPUSet *ret) { return r; } - *ret = s; - s = (CPUSet) {}; + *ret = TAKE_STRUCT(s); return 0; } |