tools/libxc: Identify the path of the kernel image which cannot be found
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 17 Jul 2015 16:51:15 +0000 (17:51 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 21 Jul 2015 14:28:46 +0000 (15:28 +0100)
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/xg_private.c

index c52cb44e86581a8cc5b71d4f0888706349205429..507b205bf71575f65c05f9a1a885575b809d7f86 100644 (file)
@@ -37,7 +37,7 @@ char *xc_read_image(xc_interface *xch,
 
     if ( (kernel_fd = open(filename, O_RDONLY)) < 0 )
     {
-        PERROR("Could not open kernel image");
+        PERROR("Could not open kernel image '%s'", filename);
         goto out;
     }