Skip to content
Permalink
Browse files
[usb-moded] When starting print version
To help identify issues and know what version/bugs we might be dealing
with it helps to print the version on start.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
  • Loading branch information
philippedeswert committed Oct 16, 2014
1 parent e598571 commit 3741bd184dc40cc4335a29c680f575e7097d8f8b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/usb_moded.c
@@ -913,6 +913,7 @@ int main(int argc, char* argv[])
}
}

printf("usb_moded %s starting\n", VERSION);
/* silence system() calls */
if(log_type != LOG_TO_STDERR || log_level != LOG_DEBUG )
{
@@ -926,7 +927,6 @@ int main(int argc, char* argv[])
g_thread_init(NULL);
#endif
mainloop = g_main_loop_new(NULL, FALSE);
log_debug("usb_moded starting\n");

/* init daemon into a clean state first, then dbus and hw_abstraction last */
usb_moded_init();

0 comments on commit 3741bd1

Please sign in to comment.