summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-07-25 12:57:45 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-07-25 12:57:45 +0000
commit8fb78ad3b3acc6cf76c7a1ba5f6062f126d1b7a0 (patch)
tree0d1e863beb0879ce13d996625698087ddb050d71
parenta46dd97e351ed0f312601cf8f0297fcbc358318e (diff)
Fix NotAvailable error return
-rw-r--r--audio/error.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/error.c b/audio/error.c
index 6bd6e08d..275eb2a7 100644
--- a/audio/error.c
+++ b/audio/error.c
@@ -93,7 +93,8 @@ DBusHandlerResult err_does_not_exist(DBusConnection *conn, DBusMessage *msg)
DBusHandlerResult err_not_available(DBusConnection *conn, DBusMessage *msg)
{
- return error_reply(conn, msg, ".NotAvailable", "Not available");
+ return error_reply(conn, msg, AUDIO_ERROR_INTERFACE ".NotAvailable",
+ "Not available");
}
DBusHandlerResult err_failed(DBusConnection *conn,