mirror of https://gitee.com/openkylin/libvirt.git
Fix trailing whitespace & unmarked diagnostic warning
This commit is contained in:
parent
a0208e6635
commit
0aac8c9447
|
@ -1,3 +1,8 @@
|
|||
Thu Sep 18 09:52:00 BST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* src/qemu_driver.c, configure.in, libvirt.spec.in: Remove
|
||||
trailing whitespace & fix diagnostic string translation.
|
||||
|
||||
Wed Sep 17 17:02:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
|
||||
|
||||
* src/openvz_driver.c: Fix segfault in OpenVZ driver
|
||||
|
|
|
@ -318,7 +318,7 @@ fi
|
|||
|
||||
dnl
|
||||
dnl check for kvm headers
|
||||
dnl
|
||||
dnl
|
||||
AC_CHECK_HEADERS([linux/kvm.h])
|
||||
|
||||
dnl Need to test if pkg-config exists
|
||||
|
|
|
@ -243,7 +243,7 @@ sed -i -e "/<uuid>/d" $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
|
|||
|
||||
# If we are not building with certain options, we need to remove files
|
||||
# so that we don't get Installed (but unpackaged) errors
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/libvirt
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/libvirt
|
||||
rm -rf $RPM_BUILD_ROOT%{_includedir}/libvirt
|
||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.so
|
||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libvirt.pc
|
||||
|
|
|
@ -1808,10 +1808,10 @@ static int kvmGetMaxVCPUs(void) {
|
|||
int maxvcpus = 1;
|
||||
|
||||
int r, fd;
|
||||
|
||||
|
||||
fd = open(KVM_DEVICE, O_RDONLY);
|
||||
if (fd < 0) {
|
||||
qemudLog(QEMUD_WARN, _("Unable to open " KVM_DEVICE ": %s\n"), strerror(errno));
|
||||
qemudLog(QEMUD_WARN, _("Unable to open %s: %s\n"), KVM_DEVICE, strerror(errno));
|
||||
return maxvcpus;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue