summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'daemon')
-rw-r--r--daemon/CMakeLists.txt2
-rw-r--r--daemon/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt
index 45565d1..e5f9b11 100644
--- a/daemon/CMakeLists.txt
+++ b/daemon/CMakeLists.txt
@@ -25,7 +25,7 @@ Please apply the patch in the contrib/ directory to your libusb 1.0 tree.
add_definitions(-DEXPLICIT_ZLP_TRANSACTION)
endif(NOT HAVE_LIBUSB_ZLP)
-add_definitions(-Wall -O2 -g -DUSBMUXD_DAEMON)
+add_definitions(-Wall -O2 -g -DUSBMUXD_DAEMON -DUSBMUXD_VERSION="${USBMUXD_VERSION}")
add_executable(usbmuxd main.c usb-linux.c log.c ../common/utils.c device.c client.c)
target_link_libraries(usbmuxd ${LIBS})
diff --git a/daemon/main.c b/daemon/main.c
index dde99c2..ef98e75 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -389,7 +389,7 @@ int main(int argc, char *argv[])
/* set log level to specified verbosity */
log_level = verbose;
- usbmuxd_log(LL_NOTICE, "usbmux v0.1 starting up");
+ usbmuxd_log(LL_NOTICE, "usbmux v%s starting up", USBMUXD_VERSION);
should_exit = 0;
set_signal_handlers();