diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-03-25 14:51:16 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-03-28 18:06:58 -0500 |
commit | 62d4037c38f065463132b0d780781504995edc69 (patch) | |
tree | 9528d27fadf1b912f40ded8e3e33bde56fe38f43 /src/gnss.c | |
parent | 8b2d2b3641bb2f78aaae9edcd71e79230cc9177c (diff) | |
download | ofono-62d4037c38f065463132b0d780781504995edc69.tar.gz |
gnss: Tweak error
Diffstat (limited to 'src/gnss.c')
-rw-r--r-- | src/gnss.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |