On Tue, 7 Dec 2010 22:13:12 +0100, Stefan Tomanek 
<[email protected]> wrote:
> Dies schrieb Cyril Brulebois ([email protected]):
> 
> > Stefan Tomanek <[email protected]> (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.

-- 
[email protected]

Attachment: pgpN5SgOmSSyi.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to