1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-08 20:58:20 +03:00

manager: make clear internal Dump() logic is debugging only.

This commit is contained in:
Lennart Poettering 2022-09-27 12:18:47 +02:00
parent 0df8512124
commit acf2de5217

View File

@ -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);