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.
This commit is contained in:
Lennart Poettering
2025-01-15 13:24:17 +01:00
parent 7adafb0832
commit 3bcb650431
+4 -4
View 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));
}