[RFC/PATCH] xfree86: add xf86IDrvMsg and friends for input driver logging.

Alan Coopersmith alan.coopersmith at oracle.com
Tue Jun 15 17:32:55 PDT 2010


> +    tmpFormat = malloc(strlen(format)+ strlen(dev->drv->driverName) + strlen(dev->name) + 5);
> +    if (!tmpFormat)
> +        return;
> +
> +    sprintf(tmpFormat, "%s: %s: %s", dev->drv->driverName, dev->name, format);

Xprintf() ?  (Aka our portable version of the not-yet-universal asprintf().)


-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list