[PATCH] xfree86: Fix Xasprinf/Xasprintf typo.

Cyril Brulebois kibi at debian.org
Thu Dec 30 15:43:07 PST 2010


It was introduced during the *printf conversion (d2c42b10).

Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
 hw/xfree86/dixmods/extmod/modinit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/xfree86/dixmods/extmod/modinit.c b/hw/xfree86/dixmods/extmod/modinit.c
index 168795d..1c7c58d 100644
--- a/hw/xfree86/dixmods/extmod/modinit.c
+++ b/hw/xfree86/dixmods/extmod/modinit.c
@@ -146,7 +146,7 @@ extmodSetup(pointer module, pointer opts, int *errmaj, int *errmin)
     for (i = 0; extensionModules[i].name != NULL; i++) {
 	if (opts) {
 	    char *s;
-	    if (Xasprinf(&s, "omit%s", extensionModules[i].name) != -1) {
+	    if (Xasprintf(&s, "omit%s", extensionModules[i].name) != -1) {
 		pointer o;
 		o = xf86FindOption(opts, s);
 		free(s);
-- 
1.7.2.3



More information about the xorg-devel mailing list