direct-io.hg

changeset 12448:85c57682d772

[LIBXC] Clarify error messages to talk about allocation 'extents'
rather than 'pages'.
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
author kfraser@localhost.localdomain
date Wed Nov 15 09:30:44 2006 +0000 (2006-11-15)
parents f9ade0890e03
children 0839db0aa611
files tools/libxc/xc_domain.c
line diff
     1.1 --- a/tools/libxc/xc_domain.c	Wed Nov 15 08:54:16 2006 +0000
     1.2 +++ b/tools/libxc/xc_domain.c	Wed Nov 15 09:30:44 2006 +0000
     1.3 @@ -352,7 +352,7 @@ int xc_domain_memory_increase_reservatio
     1.4      if ( err >= 0 )
     1.5      {
     1.6          DPRINTF("Failed allocation for dom %d: "
     1.7 -                "%ld pages order %d addr_bits %d\n",
     1.8 +                "%ld extents of order %d, addr_bits %d\n",
     1.9                  domid, nr_extents, extent_order, address_bits);
    1.10          errno = ENOMEM;
    1.11          err = -1;
    1.12 @@ -390,7 +390,7 @@ int xc_domain_memory_decrease_reservatio
    1.13  
    1.14      if ( err >= 0 )
    1.15      {
    1.16 -        DPRINTF("Failed deallocation for dom %d: %ld pages order %d\n",
    1.17 +        DPRINTF("Failed deallocation for dom %d: %ld extents of order %d\n",
    1.18                  domid, nr_extents, extent_order);
    1.19          errno = EINVAL;
    1.20          err = -1;
    1.21 @@ -421,7 +421,7 @@ int xc_domain_memory_populate_physmap(in
    1.22  
    1.23      if ( err >= 0 )
    1.24      {
    1.25 -        DPRINTF("Failed allocation for dom %d: %ld pages order %d\n",
    1.26 +        DPRINTF("Failed allocation for dom %d: %ld extents of order %d\n",
    1.27                  domid, nr_extents, extent_order);
    1.28          errno = EBUSY;
    1.29          err = -1;