summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-08 13:12:43 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-05-08 13:12:43 +0200
commitb980bd21d4fc16c5e3f42ce84dc0ff12b48eeebf (patch)
tree94f00b8fa588c082931a552a06988faf60853e5c
parent129baf3518193da8cc7d2638d10b3a72649a5f45 (diff)
use XNFalloc() instead of xnfalloc
xnfalloc is just an alias for XNFalloc() that doesn't seem to serve any practical purpose, so it can go away once all drivers stopped using it. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-savage/-/merge_requests/9>
-rw-r--r--src/savage_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c
index 4313e11..4c037fd 100644
--- a/src/savage_driver.c
+++ b/src/savage_driver.c
@@ -2113,7 +2113,7 @@ static Bool SavagePreInit(ScrnInfoPtr pScrn, int flags)
}
}
- clockRanges = xnfalloc(sizeof(ClockRange));
+ clockRanges = XNFalloc(sizeof(ClockRange));
clockRanges->next = NULL;
clockRanges->minClock = 10000;
clockRanges->maxClock = psav->maxClock;