mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-03 01:17:45 +03:00
manager: make clear internal Dump() logic is debugging only.
(cherry picked from commit acf2de5217
)
This commit is contained in:
parent
c4fd38f7d2
commit
1531a496e3
@ -33,6 +33,10 @@ void manager_dump(Manager *m, FILE *f, const char *prefix) {
|
||||
assert(m);
|
||||
assert(f);
|
||||
|
||||
/* NB: this is a debug interface for developers. It's not supposed to be machine readable or be
|
||||
* stable between versions. We take the liberty to restructure it entirely between versions and
|
||||
* add/remove fields at will. */
|
||||
|
||||
fprintf(f, "%sManager: systemd " STRINGIFY(PROJECT_VERSION) " (" GIT_VERSION ")\n", strempty(prefix));
|
||||
fprintf(f, "%sFeatures: %s\n", strempty(prefix), systemd_features);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user