diff options
author | Stefan Walter <stefw@src.gnome.org> | 2008-10-18 16:11:16 +0000 |
---|---|---|
committer | Stefan Walter <stefw@src.gnome.org> | 2008-10-18 16:11:16 +0000 |
commit | 8feb1e7c6873fed328caf453d7051762fd2f9079 (patch) | |
tree | a26470e7a8c4786d93ca5ac6262dc6717e50ccf2 /common | |
parent | 8429b8bed3f97a7dab4214b1114212bee811fe6a (diff) |
Fix crash on logout on Solaris. Fixes bug #556368. Patch by Jeff Cai
* common/gkr-location.c: Fix crash on logout on Solaris.
Fixes bug #556368. Patch by Jeff Cai
svn path=/trunk/; revision=1357
Diffstat (limited to 'common')
-rw-r--r-- | common/gkr-location.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/gkr-location.c b/common/gkr-location.c index 2594d8ab..f8f10174 100644 --- a/common/gkr-location.c +++ b/common/gkr-location.c @@ -403,7 +403,7 @@ location_manager_hal_uninit (GkrLocationManager *locmgr) if (pv->dbus_connection != NULL) { if (pv->hal_inited) { if (!libhal_ctx_shutdown (pv->hal_ctx, &error)) { - g_warning ("failed to shutdown HAL context: %s\n", error.message); + g_warning ("failed to shutdown HAL context: %s\n", error.message ? error.message : ""); dbus_error_free (&error); } pv->hal_inited = FALSE; |