On Tue, Jun 15, 2010 at 05:32:55PM -0700, Alan Coopersmith wrote: > > + 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().)
ooh, nice, thanks. I guess copy-paste from xf86DrvMsg wasn't the best idea ;) Cheers, Peter _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
