diff options
| author | Alexander Potapenko <glider@google.com> | 2025-10-17 15:00:51 +0200 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2025-10-17 13:30:07 +0000 |
| commit | 096e3373e1448ba37a427e8094a8016be8a49c55 (patch) | |
| tree | 011dd2f4b3ca4a68d309cac0b60149e0952b89bd /executor | |
| parent | 7adf52984df180ab9bc8140d49aabc0d29a1b635 (diff) | |
executor: s/true/1 in common_kvm_ppc64.h
Fix a compilation error spotted by csource_test.go
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/common_kvm_ppc64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_kvm_ppc64.h b/executor/common_kvm_ppc64.h index c154d7092..0b20c7b2f 100644 --- a/executor/common_kvm_ppc64.h +++ b/executor/common_kvm_ppc64.h @@ -185,7 +185,7 @@ static volatile long syz_kvm_setup_cpu(volatile long a0, volatile long a1, volat if (kvm_vcpu_enable_cap(cpufd, KVM_CAP_PPC_PAPR)) return -1; - if (kvm_vm_enable_cap(vmfd, KVM_CAP_PPC_NESTED_HV, true, 0)) + if (kvm_vm_enable_cap(vmfd, KVM_CAP_PPC_NESTED_HV, 1, 0)) return -1; for (uintptr_t i = 0; i < guest_mem_size / page_size; i++) { |
