All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kms: Fix warning XNFprintf is deprecated
@ 2011-02-25 21:07 Sedat Dilek
  2011-02-25 22:32 ` Alan Coopersmith
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Sedat Dilek @ 2011-02-25 21:07 UTC (permalink / raw)
  To: xorg-driver-ati, dri-devel; +Cc: Sedat Dilek

Noticed when building ati/radeon ddx against xserver 1.10-rc3.

[ build.log ]
../../src/radeon_kms.c:412:5: warning: 'XNFprintf' is deprecated (declared at /usr/include/xorg/os.h:273)

Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
---
 src/radeon_kms.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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);
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-26 20:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-25 21:07 [PATCH] kms: Fix warning XNFprintf is deprecated Sedat Dilek
2011-02-25 22:32 ` Alan Coopersmith
2011-02-26 17:08   ` Alan Coopersmith
2011-02-26 20:05     ` Sedat Dilek
     [not found] ` <1298668038-16374-1-git-send-email-sedat.dilek-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-02-25 23:20   ` Alex Deucher
2011-02-26 14:32 ` Michel Dänzer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.