mirror of https://github.com/labapart/gattlib
bluez/log.c: Replace 'VERSION' by 'BLUEZ_VERSION_MAJOR.BLUEZ_VERSION_MINOR'
parent
4db0060a3b
commit
d9e67b829b
|
@ -42,8 +42,6 @@ set(gattlib_SRCS bluez/attrib/att.c
|
|||
bluez/lib/uuid.c
|
||||
bluez/src/log.c)
|
||||
|
||||
add_definitions(-DVERSION="4.101")
|
||||
|
||||
# Gattlib files
|
||||
list(APPEND gattlib_SRCS src/gattlib_connect.c
|
||||
src/gattlib_discover.c
|
||||
|
|
|
@ -133,7 +133,7 @@ void __btd_log_init(const char *debug, int detach)
|
|||
|
||||
openlog("bluetoothd", option, LOG_DAEMON);
|
||||
|
||||
syslog(LOG_INFO, "Bluetooth daemon %s", VERSION);
|
||||
syslog(LOG_INFO, "Bluetooth daemon %d.%d", BLUEZ_VERSION_MAJOR, BLUEZ_VERSION_MINOR);
|
||||
}
|
||||
|
||||
void __btd_log_cleanup(void)
|
||||
|
|
Loading…
Reference in New Issue