Skip to content

Commit d9e67b8

Browse files
committed
bluez/log.c: Replace 'VERSION' by 'BLUEZ_VERSION_MAJOR.BLUEZ_VERSION_MINOR'
1 parent 4db0060 commit d9e67b8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ set(gattlib_SRCS bluez/attrib/att.c
4242
bluez/lib/uuid.c
4343
bluez/src/log.c)
4444

45-
add_definitions(-DVERSION="4.101")
46-
4745
# Gattlib files
4846
list(APPEND gattlib_SRCS src/gattlib_connect.c
4947
src/gattlib_discover.c

bluez/src/log.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void __btd_log_init(const char *debug, int detach)
133133

134134
openlog("bluetoothd", option, LOG_DAEMON);
135135

136-
syslog(LOG_INFO, "Bluetooth daemon %s", VERSION);
136+
syslog(LOG_INFO, "Bluetooth daemon %d.%d", BLUEZ_VERSION_MAJOR, BLUEZ_VERSION_MINOR);
137137
}
138138

139139
void __btd_log_cleanup(void)

0 commit comments

Comments
 (0)