summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-12-14 13:19:04 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-12-14 13:19:13 +0200
commit59b79184442fa73b3f7679fe7b344a6d3d63ee00 (patch)
treeb35d5ceb719cab177d609ebab9c51cde98f40596
parent3d0052c472e1b852d7dd014d909d42d3bf818c3f (diff)
downloadbluez-59b79184442fa73b3f7679fe7b344a6d3d63ee00.tar.gz
time: Use btd_profile_register return value in time_init
-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)