diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-02-27 16:00:30 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-02-27 16:00:31 +0000 |
commit | 9fbee91a131a05e443d7108d7fbdf3ca91020290 (patch) | |
tree | cb5507e8ceac38f389f998566b8c7d3e6cf4d1f6 /kvm-all.c | |
parent | 73795cea968ba2e9342a3122cd66d52d13d46a61 (diff) | |
parent | 521f438e36b0265d66862e9cd35e4db82686ca9f (diff) |
Merge remote-tracking branch 'remotes/kvm/uq/master' into staging
* remotes/kvm/uq/master:
KVM: Use return value for error print
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'kvm-all.c')
-rw-r--r-- | kvm-all.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1435,7 +1435,7 @@ int kvm_init(void) } while (ret == -EINTR); if (ret < 0) { - fprintf(stderr, "ioctl(KVM_CREATE_VM) failed: %d %s\n", -s->vmfd, + fprintf(stderr, "ioctl(KVM_CREATE_VM) failed: %d %s\n", -ret, strerror(-ret)); #ifdef TARGET_S390X |