From: kaf24@firebug.cl.cam.ac.uk Date: Wed, 9 Mar 2005 09:11:26 +0000 (+0000) Subject: bitkeeper revision 1.1236.12.18 (422ebdbe7uRYOpXY086XHnR2gRhjaQ) X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~17857^2~57^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6faae7dc9bd6b72ff165ff7856ca0b4fcbd2fdf3;p=xen.git bitkeeper revision 1.1236.12.18 (422ebdbe7uRYOpXY086XHnR2gRhjaQ) Fix 'priviledge' typo. Signed-off-by: Keir Fraser --- diff --git a/xen/common/physdev.c b/xen/common/physdev.c index 7981254a69..c01ae0c03b 100644 --- a/xen/common/physdev.c +++ b/xen/common/physdev.c @@ -222,7 +222,7 @@ int physdev_pci_access_modify(domid_t dom, int bus, int dev, int func, { INFO(" dev does not exist\n"); rc = -ENODEV; - goto clear_priviledge; + goto clear_privilege; } if ( (physdev = find_pdev(p, pdev)) != NULL) { @@ -231,7 +231,7 @@ int physdev_pci_access_modify(domid_t dom, int bus, int dev, int func, physdev->flags = ACC_WRITE; } else { if ( (rc = add_dev_to_task(p, pdev, ACC_WRITE)) < 0) - goto clear_priviledge; + goto clear_privilege; allocated_physdev = 1; } @@ -260,7 +260,7 @@ remove_dev: physdev->flags = oldacc; } -clear_priviledge: +clear_privilege: clear_bit(DF_PHYSDEV, &p->d_flags); clear_bit(DF_PRIVILEGED, &p->d_flags); put_domain(p);