From 62d4037c38f065463132b0d780781504995edc69 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 25 Mar 2011 14:51:16 -0500 Subject: gnss: Tweak error --- src/gnss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gnss.c b/src/gnss.c index ba576ea5..df5b2b40 100644 --- a/src/gnss.c +++ b/src/gnss.c @@ -181,7 +181,7 @@ static DBusMessage *gnss_unregister_agent(DBusConnection *conn, return __ofono_error_failed(msg); if (!gnss_agent_matches(gnss->posr_agent, agent_path, agent_bus)) - return __ofono_error_failed(msg); + return __ofono_error_access_denied(msg); gnss->pending = dbus_message_ref(msg); -- cgit v1.2.3