summaryrefslogtreecommitdiff
path: root/src/atimode.c
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2011-04-28 17:31:52 +0200
committerJulien Cristau <jcristau@debian.org>2011-04-28 17:32:21 +0200
commit39c6d1da8af563afa665d5bb149c9693e24c6eab (patch)
treec6b4ed96295509bc704682d54bb7a146b84f9450 /src/atimode.c
parentd60087f0b6dd4d082230312580ae35e14acd0c6e (diff)
Replace deprecated xalloc/xfree/xrealloc with malloc/free/realloc
Signed-off-by: Julien Cristau <jcristau@debian.org>
Diffstat (limited to 'src/atimode.c')
-rw-r--r--src/atimode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atimode.c b/src/atimode.c
index d1b3198..00817f0 100644
--- a/src/atimode.c
+++ b/src/atimode.c
@@ -114,7 +114,7 @@ ATISwap
if (!pATIHW->frame_buffer)
{
pATIHW->frame_buffer =
- (pointer)xalloc(pATIHW->nBank * pATIHW->nPlane * 0x00010000U);
+ (pointer)malloc(pATIHW->nBank * pATIHW->nPlane * 0x00010000U);
if (!pATIHW->frame_buffer)
{
xf86DrvMsg(iScreen, X_WARNING,