mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-27 10:30:36 +01:00
libnm: fix timestamp in LIBNM_CLIENT_DEBUG debug logging
Fixes:9c01d6ca67('libnm: print timestamp in LIBNM_CLIENT_DEBUG debug logging') (cherry picked from commit287a34990a) (cherry picked from commit2946192217)
This commit is contained in:
parent
da166edc3f
commit
6732138ffe
1 changed files with 2 additions and 2 deletions
|
|
@ -97,14 +97,14 @@ _nml_dbus_log(NMLDBusLogLevel level, gboolean use_stdout, const char *fmt, ...)
|
|||
(long long) pid,
|
||||
prefix,
|
||||
ts / NM_UTILS_NSEC_PER_SEC,
|
||||
(ts / (NM_UTILS_NSEC_PER_SEC / 10000)) % 10000,
|
||||
(ts / (NM_UTILS_NSEC_PER_SEC / 100000)) % 100000,
|
||||
msg);
|
||||
} else {
|
||||
g_printerr("libnm-dbus[%lld]: %s[%" G_GINT64_FORMAT ".%05" G_GINT64_FORMAT "] %s\n",
|
||||
(long long) pid,
|
||||
prefix,
|
||||
ts / NM_UTILS_NSEC_PER_SEC,
|
||||
(ts / (NM_UTILS_NSEC_PER_SEC / 10000)) % 10000,
|
||||
(ts / (NM_UTILS_NSEC_PER_SEC / 100000)) % 100000,
|
||||
msg);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue