Fix dumb typo in previous patch

This commit is contained in:
Daniel P. Berrange 2009-04-03 15:18:03 +00:00
parent a09fc2658a
commit b59e64bf44
2 changed files with 5 additions and 2 deletions

View File

@ -10,7 +10,7 @@ diff -rup libvirt-0.6.1.orig/src/qemu_conf.c libvirt-0.6.1.new/src/qemu_conf.c
+ if (driver->securityDriver && + if (driver->securityDriver &&
+ driver->securityDriver->name && + driver->securityDriver->name &&
+ STREQ(driver->securityDriver->name, "selinux") && + STREQ(driver->securityDriver->name, "selinux") &&
+ getuid == 0) { + getuid() == 0) {
+ static int soundWarned = 0; + static int soundWarned = 0;
+ skipSound = 1; + skipSound = 1;
+ if (vm->def->nsounds && + if (vm->def->nsounds &&

View File

@ -47,7 +47,7 @@
Summary: Library providing a simple API virtualization Summary: Library providing a simple API virtualization
Name: libvirt Name: libvirt
Version: 0.6.1 Version: 0.6.1
Release: 5%{?dist}%{?extra_release} Release: 6%{?dist}%{?extra_release}
License: LGPLv2+ License: LGPLv2+
Group: Development/Libraries Group: Development/Libraries
Source: libvirt-%{version}.tar.gz Source: libvirt-%{version}.tar.gz
@ -506,6 +506,9 @@ fi
%endif %endif
%changelog %changelog
* Fri Apr 3 2009 Daniel P. Berrange <berrange@redhat.com> - 0.6.1-6.fc11
- Fix typo in previous patch
* Tue Mar 17 2009 Daniel P. Berrange <berrange@redhat.com> - 0.6.1-5.fc11 * Tue Mar 17 2009 Daniel P. Berrange <berrange@redhat.com> - 0.6.1-5.fc11
- Don't relabel shared/readonly disks - Don't relabel shared/readonly disks
- Disable sound cards when running sVirt - Disable sound cards when running sVirt