aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/os/xprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/os/xprintf.c')
-rw-r--r--nx-X11/programs/Xserver/os/xprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/os/xprintf.c b/nx-X11/programs/Xserver/os/xprintf.c
index 4423208ff..1bcb36d3c 100644
--- a/nx-X11/programs/Xserver/os/xprintf.c
+++ b/nx-X11/programs/Xserver/os/xprintf.c
@@ -1,5 +1,5 @@
/*
- * printf routines which xalloc their buffer
+ * printf routines which malloc their buffer
*/
/*
* Copyright (c) 2004 Alexander Gottwald
@@ -111,7 +111,7 @@ Xvprintf(const char *format, va_list va)
size = vsnprintf(NULL, 0, format, va2);
va_end(va2);
- ret = (char *)Xalloc(size + 1);
+ ret = (char *)malloc(size + 1);
if (ret == NULL)
return NULL;