[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xl: Change output from xl -N create to be more useful



Ian Campbell writes ("Re: [PATCH] xl: Change output from xl -N create to be 
more useful"):
> On Fri, 2015-06-26 at 15:29 +0100, Ian Jackson wrote:
...
> > -    if (debug || dom_info->dryrun)
> > -        printf_info(default_output_format, -1, &d_config,
> > -                    debug ? stderr : stdout);
> > +    if (debug || dom_info->dryrun) {
> > +        FILE *cfg_print_fh = debug ? stderr : stdout;
> 
> Did you mean to use this instead of the hardcoded stdout below?
> 
> Otherwise the debug output's location differs depending on the format,
> which seems unexpected.

This is indeed wrong.  Well spotted.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.