diff options
-rw-r--r-- | dix/dixfonts.c | 2 | ||||
-rw-r--r-- | os/xprintf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dix/dixfonts.c b/dix/dixfonts.c index cc58b89fd..aaa992b4d 100644 --- a/dix/dixfonts.c +++ b/dix/dixfonts.c @@ -1836,7 +1836,7 @@ SetDefaultFontPath(char *path) if (!start) { temp_path = Xprintf("%s%sbuilt-ins", path, *path ? "," : ""); } else { - temp_path = Xstrdup(path); + temp_path = xstrdup(path); } if (!temp_path) return BadAlloc; diff --git a/os/xprintf.c b/os/xprintf.c index 3fe19b36f..71a4424f7 100644 --- a/os/xprintf.c +++ b/os/xprintf.c @@ -84,7 +84,7 @@ XNFvprintf(const char *format, va_list va) size = vsnprintf(NULL, 0, format, va2); va_end(va2); - ret = (char *)XNFalloc(size + 1); + ret = (char *)xnfalloc(size + 1); if (ret == NULL) return NULL; |