summaryrefslogtreecommitdiff
path: root/hw/xfree86/loader
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2012-04-09 08:30:50 -0700
committerKeith Packard <keithp@keithp.com>2012-07-02 22:34:33 -0700
commitd51aebdbf99a9f240f7c318a70ba40e61cd43049 (patch)
tree96ac8c89ed026df397c11ea4c10161bda3344e6d /hw/xfree86/loader
parentc3e1168778ec20beeac9979dc57e36400c70dd63 (diff)
Log in LoaderUnload() in a signal safe manner
The function may be called from a fatal signal handler. Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'hw/xfree86/loader')
-rw-r--r--hw/xfree86/loader/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/loader/loader.c b/hw/xfree86/loader/loader.c
index b72b8b89d..edaefb8f9 100644
--- a/hw/xfree86/loader/loader.c
+++ b/hw/xfree86/loader/loader.c
@@ -163,7 +163,7 @@ LoaderSymbol(const char *name)
void
LoaderUnload(const char *name, void *handle)
{
- xf86Msg(X_INFO, "Unloading %s\n", name);
+ LogMessageVerbSigSafe(X_INFO, 1, "Unloading %s\n", name);
if (handle)
dlclose(handle);
}