[PATCH] xfree86: print message to the log when zapping the server
Aaron Plattner
aplattner at nvidia.com
Wed Dec 12 16:23:36 PST 2012
Peter reminded me that this is not called from a signal handler.
Reviewed-by: Aaron Plattner <aplattner at nvidia.com>
--
Aaron
On 12/11/2012 05:02 PM, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> hw/xfree86/common/xf86Events.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/xfree86/common/xf86Events.c b/hw/xfree86/common/xf86Events.c
> index 9dabf10..d8d4fad 100644
> --- a/hw/xfree86/common/xf86Events.c
> +++ b/hw/xfree86/common/xf86Events.c
> @@ -180,6 +180,7 @@ xf86ProcessActionEvent(ActionEvent action, void *arg)
> switch (action) {
> case ACTION_TERMINATE:
> if (!xf86Info.dontZap) {
> + xf86Msg(X_INFO, "Server zapped. Shutting down.\n");
> #ifdef XFreeXDGA
> DGAShutdown();
> #endif
>
More information about the xorg-devel
mailing list