diff options
Diffstat (limited to 'daemon')
| -rw-r--r-- | daemon/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | daemon/main.c | 2 |
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. | |||
| 25 | add_definitions(-DEXPLICIT_ZLP_TRANSACTION) | 25 | add_definitions(-DEXPLICIT_ZLP_TRANSACTION) |
| 26 | endif(NOT HAVE_LIBUSB_ZLP) | 26 | endif(NOT HAVE_LIBUSB_ZLP) |
| 27 | 27 | ||
| 28 | add_definitions(-Wall -O2 -g -DUSBMUXD_DAEMON) | 28 | add_definitions(-Wall -O2 -g -DUSBMUXD_DAEMON -DUSBMUXD_VERSION="${USBMUXD_VERSION}") |
| 29 | add_executable(usbmuxd main.c usb-linux.c log.c ../common/utils.c device.c client.c) | 29 | add_executable(usbmuxd main.c usb-linux.c log.c ../common/utils.c device.c client.c) |
| 30 | target_link_libraries(usbmuxd ${LIBS}) | 30 | target_link_libraries(usbmuxd ${LIBS}) |
| 31 | 31 | ||
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[]) | |||
| 389 | /* set log level to specified verbosity */ | 389 | /* set log level to specified verbosity */ |
| 390 | log_level = verbose; | 390 | log_level = verbose; |
| 391 | 391 | ||
| 392 | usbmuxd_log(LL_NOTICE, "usbmux v0.1 starting up"); | 392 | usbmuxd_log(LL_NOTICE, "usbmux v%s starting up", USBMUXD_VERSION); |
| 393 | should_exit = 0; | 393 | should_exit = 0; |
| 394 | 394 | ||
| 395 | set_signal_handlers(); | 395 | set_signal_handlers(); |
