From: Lennart Poettering Date: Tue, 14 Jan 2025 14:48:00 +0000 (+0100) Subject: user-record-show: use word 'show' not 'dump' for helper call X-Git-Tag: v258-rc1~1605 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3bcb6504313a17ba3594886d016ae7719b8542c0;p=thirdparty%2Fsystemd.git user-record-show: use word 'show' not 'dump' for helper call The key functions and the file itself use the word "to show" here, this helper should really stick to that nomenclature. --- diff --git a/src/shared/user-record-show.c b/src/shared/user-record-show.c index 4d8ffe1c35f..a828ffa0a73 100644 --- a/src/shared/user-record-show.c +++ b/src/shared/user-record-show.c @@ -28,7 +28,7 @@ const char* user_record_state_color(const char *state) { return NULL; } -static void dump_self_modifiable( +static void show_self_modifiable( const char *heading, char **field, const char **value) { @@ -612,13 +612,13 @@ void user_record_show(UserRecord *hr, bool show_full_group_info) { if (hr->service) printf(" Service: %s\n", hr->service); - dump_self_modifiable("Self Modify:", + show_self_modifiable("Self Modify:", hr->self_modifiable_fields, user_record_self_modifiable_fields(hr)); - dump_self_modifiable("(Blobs)", + show_self_modifiable("(Blobs)", hr->self_modifiable_blobs, user_record_self_modifiable_blobs(hr)); - dump_self_modifiable("(Privileged)", + show_self_modifiable("(Privileged)", hr->self_modifiable_privileged, user_record_self_modifiable_privileged(hr)); }