diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-12-14 13:19:04 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-12-14 13:19:13 +0200 |
commit | 59b79184442fa73b3f7679fe7b344a6d3d63ee00 (patch) | |
tree | b35d5ceb719cab177d609ebab9c51cde98f40596 | |
parent | 3d0052c472e1b852d7dd014d909d42d3bf818c3f (diff) | |
download | bluez-59b79184442fa73b3f7679fe7b344a6d3d63ee00.tar.gz |
time: Use btd_profile_register return value in time_init
-rw-r--r-- | profiles/time/server.c | 3 |
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) |