[PATCH] (updated) dix: Enable core devices in InitCoreDevices already.

Adam Jackson ajax at redhat.com
Fri Nov 21 08:33:21 PST 2008


On Fri, 2008-11-21 at 15:13 +1000, Peter Hutterer wrote:

> diff --git a/dix/main.c b/dix/main.c
> index 7bd91e0..ee2e10d 100644
> --- a/dix/main.c
> +++ b/dix/main.c
> @@ -361,8 +361,7 @@ int main(int argc, char *argv[], char *envp[])
>  
>          InitCoreDevices();
>  	InitInput(argc, argv);
> -	if (InitAndStartDevices() != Success)
> -	    FatalError("failed to initialize core devices");
> +	InitAndStartDevices();
>  
>  	dixSaveScreens(serverClient, SCREEN_SAVER_FORCER, ScreenSaverReset);

If we're ignoring the return from IASD, might as well change it to
return void.

Series looks good otherwise.

Signed-off-by: Adam Jackson <ajax at redhat.com>

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20081121/fed87166/attachment.pgp>


More information about the xorg mailing list