Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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 3741bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usb_moded.c
Expand Up @@ -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 )
{
Expand All @@ -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();
Expand Down

0 comments on commit 3741bd1

Please sign in to comment.