From: Andrew Cooper Date: Fri, 17 Jul 2015 16:51:15 +0000 (+0100) Subject: tools/libxc: Identify the path of the kernel image which cannot be found X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~2739 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f65a9ad05ce96d39405921b56f2d46a11337ac4a;p=xen.git tools/libxc: Identify the path of the kernel image which cannot be found Signed-off-by: Andrew Cooper CC: Ian Campbell CC: Ian Jackson CC: Wei Liu Acked-by: Ian Campbell Acked-by: Wei Liu --- diff --git a/tools/libxc/xg_private.c b/tools/libxc/xg_private.c index c52cb44e86..507b205bf7 100644 --- a/tools/libxc/xg_private.c +++ b/tools/libxc/xg_private.c @@ -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; }