From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCRUA-0001mL-Gk for qemu-devel@nongnu.org; Fri, 14 Sep 2012 04:42:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCRU5-0007XX-FW for qemu-devel@nongnu.org; Fri, 14 Sep 2012 04:42:50 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:59751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCRU5-0007WS-98 for qemu-devel@nongnu.org; Fri, 14 Sep 2012 04:42:45 -0400 Received: by mail-wi0-f181.google.com with SMTP id hm2so3387894wib.10 for ; Fri, 14 Sep 2012 01:42:44 -0700 (PDT) From: Stefan Hajnoczi Date: Fri, 14 Sep 2012 09:42:18 +0100 Message-Id: <1347612146-5407-5-git-send-email-stefanha@gmail.com> In-Reply-To: <1347612146-5407-1-git-send-email-stefanha@gmail.com> References: <1347612146-5407-1-git-send-email-stefanha@gmail.com> Subject: [Qemu-devel] [PATCH 04/12] Spelling fixes in comments and macro names (ressource -> resource) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Stefan Weil , qemu-devel@nongnu.org, Stefan Hajnoczi From: Stefan Weil Macro XEN_HOST_PCI_RESOURCE_BUFFER_SIZE is only used locally, so the change should be safe. Signed-off-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- hw/xen-host-pci-device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/xen-host-pci-device.c b/hw/xen-host-pci-device.c index e7ff680..743b37b 100644 --- a/hw/xen-host-pci-device.c +++ b/hw/xen-host-pci-device.c @@ -47,13 +47,13 @@ static int xen_host_pci_sysfs_path(const XenHostPCIDevice *d, } -/* This size should be enough to read the first 7 lines of a ressource file */ -#define XEN_HOST_PCI_RESSOURCE_BUFFER_SIZE 400 +/* This size should be enough to read the first 7 lines of a resource file */ +#define XEN_HOST_PCI_RESOURCE_BUFFER_SIZE 400 static int xen_host_pci_get_resource(XenHostPCIDevice *d) { int i, rc, fd; char path[PATH_MAX]; - char buf[XEN_HOST_PCI_RESSOURCE_BUFFER_SIZE]; + char buf[XEN_HOST_PCI_RESOURCE_BUFFER_SIZE]; unsigned long long start, end, flags, size; char *endptr, *s; uint8_t type; -- 1.7.10.4