Skip to contentSkip to conversation

nouveau: use uppercase for chipset name

PATCH New Ilia Mirkin 1 participant 1 message Jul 30, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nouveau: use uppercase for chipset name

Right now the log will output e.g. NVaa instead of NVAA, which is how we usually talk about it.

---
 src/nv_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/nv_driver.c +1 -1
index b83b822..44e7496 100644
@@ -836,7 +836,7 @@ NVPreInit(ScrnInfoPtr pScrn, int flags)
 	dev = pNv->dev;
 
 	pScrn->chipset = malloc(sizeof(char) * 25);
-	sprintf(pScrn->chipset, "NVIDIA NV%02x", dev->chipset);
+	sprintf(pScrn->chipset, "NVIDIA NV%02X", dev->chipset);
 	xf86DrvMsg(pScrn->scrnIndex, X_PROBED, "Chipset: \"%s\"\n", pScrn->chipset);
 
 	switch (dev->chipset & 0xf0) {
Signature · 1 line
1.8.1.5