[PATCH] Fix asprintf typo in commit d2c42b10
Cyril Brulebois
kibi at debian.org
Thu Dec 30 15:56:35 PST 2010
Alan Coopersmith <alan.coopersmith at oracle.com> (27/12/2010):
> Reported-by: Jerome Carretero <cJ at zougloub.eu>
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
> 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 <kibi at debian.org>
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101231/7a44de4b/attachment.pgp>
More information about the xorg-devel
mailing list