vpci/bars: fix error message
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 26 Mar 2018 13:16:14 +0000 (15:16 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 26 Mar 2018 13:16:14 +0000 (15:16 +0200)
Error message is incorrectly using map when it should be using
map->map instead.

Coverity ID: 1430811

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/vpci/header.c

index 91a71ca66e123acde991e27640772d5450ecff05..0ec4c082a6efe17ad0f0879492ace56abbdc7230 100644 (file)
@@ -63,7 +63,7 @@ static int map_range(unsigned long s, unsigned long e, void *data,
         {
             printk(XENLOG_G_WARNING
                    "Failed to identity %smap [%lx, %lx] for d%d: %d\n",
-                   map ? "" : "un", s, e, map->d->domain_id, rc);
+                   map->map ? "" : "un", s, e, map->d->domain_id, rc);
             break;
         }
         ASSERT(rc < size);