xserver-multidpi/hw/xfree86/os-support/linux
Hans de Goede 2092f12a24 linux: Do not call FatalError from xf86CloseConsole
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>
2015-10-21 10:35:51 -04:00
..
int10 int10: Fix error check for pci_device_map_legacy 2015-03-13 12:31:21 +10:00
linux.h linux: Add a may_fail paramter to linux_parse_vt_settings 2015-06-03 11:31:41 +02:00
lnx_acpi.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
lnx_agp.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
lnx_apm.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
lnx_bell.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
lnx_ev56.c xfree86: Remove MMIO_ONB* and friends 2014-07-28 12:19:01 -07:00
lnx_init.c linux: Do not call FatalError from xf86CloseConsole 2015-10-21 10:35:51 -04:00
lnx_kmod.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
lnx_platform.c config: Replace OdevAttributes linked list with struct 2014-07-17 17:10:48 -07:00
lnx_video.c xfree86: Clean up some more alpha awareness 2014-09-16 11:58:53 -04:00
Makefile.am xfree86/os-support/linux: Fix make distcheck 2015-07-16 12:32:38 -07:00
systemd-logind.c systemd-logind: do not rely on directed signals 2015-06-23 09:42:31 +02:00