From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: Re: [PATCH 1/4] tools/libxc: Identify the path of the kernel image which cannot be found Date: Fri, 17 Jul 2015 17:55:52 +0100 Message-ID: <20150717165552.GU12455@zion.uk.xensource.com> References: <1437151878-11792-1-git-send-email-andrew.cooper3@citrix.com> <1437151878-11792-2-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1437151878-11792-2-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Wei Liu , Ian Jackson , Ian Campbell , Xen-devel List-Id: xen-devel@lists.xenproject.org On Fri, Jul 17, 2015 at 05:51:15PM +0100, Andrew Cooper wrote: > Signed-off-by: Andrew Cooper > CC: Ian Campbell > CC: Ian Jackson > CC: Wei Liu Acked-by: Wei Liu > > --- > This is rather quicker than using strace to find out that I had > forgotten to ./configure --prefix=/usr > --- > tools/libxc/xg_private.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/libxc/xg_private.c b/tools/libxc/xg_private.c > index c52cb44..507b205 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; > } > > -- > 1.7.10.4