mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-09 08:18:03 +02:00
core: log whether assertions are enabled for the build
This commit is contained in:
parent
344247cdc1
commit
0a730fe0ea
1 changed files with 3 additions and 2 deletions
|
|
@ -426,8 +426,9 @@ main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
nm_log_info(LOGD_CORE,
|
nm_log_info(LOGD_CORE,
|
||||||
"NetworkManager (version " NM_DIST_VERSION ") is starting... (%s)",
|
"NetworkManager (version " NM_DIST_VERSION ") is starting... (%s%s)",
|
||||||
nm_config_get_first_start(config) ? "for the first time" : "after a restart");
|
nm_config_get_first_start(config) ? "for the first time" : "after a restart",
|
||||||
|
NM_MORE_ASSERTS != 0 ? ", asserts:" G_STRINGIFY(NM_MORE_ASSERTS) : "");
|
||||||
|
|
||||||
nm_log_info(LOGD_CORE,
|
nm_log_info(LOGD_CORE,
|
||||||
"Read config: %s",
|
"Read config: %s",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue