diff mbox

kms: Fix warning XNFprintf is deprecated

Message ID 1298668038-16374-1-git-send-email-sedat.dilek@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sedat Dilek Feb. 25, 2011, 9:07 p.m. UTC
None
diff mbox

Patch

diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index 158dc57..19b0c74 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -409,7 +409,7 @@  static Bool radeon_open_drm_master(ScrnInfoPtr pScrn)
 	goto out;
     }
 
-    busid = XNFprintf("pci:%04x:%02x:%02x.%d",
+    busid = XNFasprintf("pci:%04x:%02x:%02x.%d",
 		      dev->domain, dev->bus, dev->dev, dev->func);
 
     info->dri2.drm_fd = drmOpen("radeon", busid);