On Tue, 7 Dec 2010 22:13:12 +0100, Stefan Tomanek 
<stefan.toma...@wertarbyte.de> wrote:
> Dies schrieb Cyril Brulebois (k...@debian.org):
> 
> > Stefan Tomanek <stefan.toma...@wertarbyte.de> (08/11/2010):
> > > -     printf ("%s %s", output_info->name, 
> > > connection[output_info->connection]);
> > > +     printf ( dump ? "output %s\n" : "%s %s", output_info->name, 
> > > connection[output_info->connection]);
> > 
> > Looks like a missing "%s" in the first string?
> 
> No, this is actually done on purpose to mirror the command line
> argument, e.g. "--output VGA0". We do not have to indicate whether the
> display is actually connected.

Don't be fancy about it, just have two different printf calls.

-- 
keith.pack...@intel.com

Attachment: pgpN5SgOmSSyi.pgp
Description: PGP signature

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to