diff --git a/Xext/security.c b/Xext/security.c index 4fbf6f283..bd397a9ab 100644 --- a/Xext/security.c +++ b/Xext/security.c @@ -946,10 +946,10 @@ SecurityAuditResourceIDAccess( * rtype is its type or class. * access_mode represents the intended use of the resource; see * resource.h. - * rval is a pointer to the resource structure for this resource. + * res is a pointer to the resource structure for this resource. * * Returns: - * If access is granted, the value of rval that was passed in, else NULL. + * If access is granted, the value of rval that was passed in, else FALSE. * * Side Effects: * Disallowed resource accesses are audited. diff --git a/configure.ac b/configure.ac index d56e75c5d..eca0506d8 100644 --- a/configure.ac +++ b/configure.ac @@ -398,11 +398,11 @@ AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug], AC_ARG_WITH(int10, AS_HELP_STRING([--with-int10=BACKEND], [int10 backend: vm86, x86emu or stub]), [INT10="$withval"], [INT10="$DEFAULT_INT10"]) -AC_ARG_WITH(vendor-name, AS_HELP_STRING([--with-vendor-string=VENDOR], +AC_ARG_WITH(vendor-name, AS_HELP_STRING([--with-vendor-name=VENDOR], [Vendor string reported by the server]), [ VENDOR_STRING="$withval" ], [ VENDOR_STRING="$DEFAULT_VENDOR_NAME" ]) -AC_ARG_WITH(vendor-name-short, AS_HELP_STRING([--with-vendor-string-short=VENDOR], +AC_ARG_WITH(vendor-name-short, AS_HELP_STRING([--with-vendor-name-short=VENDOR], [Short version of vendor string reported by the server]), [ VENDOR_STRING_SHORT="$withval" ], [ VENDOR_STRING_SHORT="$DEFAULT_VENDOR_NAME_SHORT" ]) diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c index 12f5dc9cc..ec0f181db 100644 --- a/hw/xfree86/loader/loadmod.c +++ b/hw/xfree86/loader/loadmod.c @@ -903,7 +903,7 @@ doLoadModule(const char *module, const char *path, const char **subdirlist, * check the elements in the path */ if (PathIsAbsolute(module)) - xstrdup(module); + found = xstrdup(module); path_elem = pathlist; while (!found && *path_elem != NULL) { found = FindModule(m, *path_elem, subdirlist, patterns);