Alan Coopersmith <[email protected]> (27/12/2010):
> Reported-by: Jerome Carretero <[email protected]>
> Signed-off-by: Alan Coopersmith <[email protected]>
> ---
>  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..a415e5f 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 (asprintf(&s, "omit%s", extensionModules[i].name) != -1) {
>               pointer o;
>               o = xf86FindOption(opts, s);
>               free(s);

Reviewed-by: Cyril Brulebois <[email protected]>

KiBi.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to