mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-01 23:20:40 +02:00
nmtst: ensure call to nm_utils_get_monotonic_timestamp_s() in nmtst_init()
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
734203e12e
commit
362c4fe188
1 changed files with 5 additions and 0 deletions
|
|
@ -292,6 +292,11 @@ __nmtst_init (int *argc, char ***argv, gboolean assert_logging, const char *log_
|
|||
atexit (nmtst_free);
|
||||
g_once_init_leave (&atexit_registered, 1);
|
||||
}
|
||||
|
||||
#ifdef NETWORK_MANAGER_UTILS_H
|
||||
/* ensure that monotonic timestamp is called (because it initially logs a line) */
|
||||
nm_utils_get_monotonic_timestamp_s ();
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef NM_LOGGING_H
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue