From patchwork Fri Feb 25 21:07:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sedat Dilek X-Patchwork-Id: 591261 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1PL7uXK011312 for ; Fri, 25 Feb 2011 21:08:21 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 34AEF9F515 for ; Fri, 25 Feb 2011 13:07:55 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-fx0-f49.google.com (mail-fx0-f49.google.com [209.85.161.49]) by gabe.freedesktop.org (Postfix) with ESMTP id C77FA9E86C for ; Fri, 25 Feb 2011 13:07:45 -0800 (PST) Received: by fxm16 with SMTP id 16so2446825fxm.36 for ; Fri, 25 Feb 2011 13:07:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=91j/kQSG7B/Ba/egSZvKgOlhVxUmSHjiPuCnF2jA2c8=; b=sZLo0ODeDX6BhpxtaeMZ2WC7rk+rUbNJrqXaflDyagNINBP6u7pWyAQpfddWdRqPDU eQlpS8GKaqAkBxyrMnseodwc+95sTShM+CQnsu4QP9MTRMklzsTvTXlo5STFg1wi8UPR XtLs9IMQ1LcxiZAq49/GZVwT2R4pKmwMk0N6M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=daqeWCAhUYYSR7MZH5xXievSf3fgtisZjw2nbBhidokFoIwcyLB7/TP+RT0FczHZ7t jO43Qpx/OjgF9n/7y4DAZatQ3oW+8FlqC0074vKxjP/7GnazHApKrL7uZYHXqTSsoIjY H1yZJN0VI9K2XD/Sxnl3YsKuIWt3FFNFh8LzY= Received: by 10.223.106.129 with SMTP id x1mr3173550fao.13.1298668048770; Fri, 25 Feb 2011 13:07:28 -0800 (PST) Received: from localhost.localdomain (p548B6C67.dip.t-dialin.net [84.139.108.103]) by mx.google.com with ESMTPS id y1sm539511fak.15.2011.02.25.13.07.27 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Feb 2011 13:07:28 -0800 (PST) From: Sedat Dilek To: xorg-driver-ati@lists.x.org, dri-devel@lists.freedesktop.org Subject: [PATCH] kms: Fix warning XNFprintf is deprecated Date: Fri, 25 Feb 2011 22:07:18 +0100 Message-Id: <1298668038-16374-1-git-send-email-sedat.dilek@gmail.com> X-Mailer: git-send-email 1.7.4.1 Cc: Sedat Dilek X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 25 Feb 2011 21:08:21 +0000 (UTC) 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);