Skip to content

Commit

Permalink
Identify mce version & flavor on start up
Browse files Browse the repository at this point in the history
So that both DSME and MCE versions can be found from journal.
  • Loading branch information
spiiroin committed Jun 17, 2014
1 parent 6217ae8 commit 972516e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mce.c
Expand Up @@ -904,6 +904,11 @@ int main(int argc, char **argv)
atexit(mce_cleanup_wakelocks);
#endif

/* Identify mce version & flavor on start up */
mce_log(LL_WARN, "MCE %s (%s) starting up",
G_STRINGIFY(PRG_VERSION),
(LL_DEVEL == LL_CRIT) ? "devel" : "release");

/* Daemonize if requested */
if( mce_args.daemonflag )
daemonize();
Expand Down

0 comments on commit 972516e

Please sign in to comment.