]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
user-record-show: use word 'show' not 'dump' for helper call
authorLennart Poettering <lennart@poettering.net>
Tue, 14 Jan 2025 14:48:00 +0000 (15:48 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 15 Jan 2025 12:24:17 +0000 (13:24 +0100)
The key functions and the file itself use the word "to show" here, this
helper should really stick to that nomenclature.

src/shared/user-record-show.c

index 4d8ffe1c35f80a54285ef4287dcb219578dfd520..a828ffa0a73502588d74422f61f7f98b163a158a 100644 (file)
@@ -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));
 }