mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 14:50:05 +01:00
FatalError ends up calling xf86CloseConsole itself, so calling FatalError from within xf86CloseConsole is not a good idea. Make switch_to log errors using xf86Msg(X_WARNING, ...) and return success (or failure). This makes switch_to match the other error checking done in xf86CloseConsole which all logs warnings and continues. Add checking of the return value in xf86OpenConsole and call FatalError there when switch_to fails, to preserve the error-handling behavior of xf86OpenConsole. BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1269210 Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> |
||
|---|---|---|
| .. | ||
| int10 | ||
| linux.h | ||
| lnx_acpi.c | ||
| lnx_agp.c | ||
| lnx_apm.c | ||
| lnx_bell.c | ||
| lnx_ev56.c | ||
| lnx_init.c | ||
| lnx_kmod.c | ||
| lnx_platform.c | ||
| lnx_video.c | ||
| Makefile.am | ||
| systemd-logind.c | ||