summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profiles/time/server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/profiles/time/server.c b/profiles/time/server.c
index e1169bcba..ab9fbb438 100644
--- a/profiles/time/server.c
+++ b/profiles/time/server.c
@@ -266,8 +266,7 @@ struct btd_profile time_profile = {
static int time_init(void)
{
- btd_profile_register(&time_profile);
- return 0;
+ return btd_profile_register(&time_profile);
}
static void time_exit(void)