summaryrefslogtreecommitdiffstats
path: root/src/userdb
diff options
context:
space:
mode:
authorfangxiuning <fangxiuning123@126.com>2020-07-08 09:16:52 +0200
committerfangxiuning <fangxiuning123@126.com>2020-07-08 09:16:52 +0200
commit4b6607d94933ff297b6893e4eb5cdc622cc97504 (patch)
treeccf24a4720c3b5181e2b82dffb6c528d5448b695 /src/userdb
parenttable add table_log_sort_error() (diff)
downloadsystemd-4b6607d94933ff297b6893e4eb5cdc622cc97504.tar.xz
systemd-4b6607d94933ff297b6893e4eb5cdc622cc97504.zip
table use table_log_print_error() instead of table_log_show_error
Diffstat (limited to 'src/userdb')
-rw-r--r--src/userdb/userdbctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/userdb/userdbctl.c b/src/userdb/userdbctl.c
index 55984518d0..c973ee9c01 100644
--- a/src/userdb/userdbctl.c
+++ b/src/userdb/userdbctl.c
@@ -180,7 +180,7 @@ static int display_user(int argc, char *argv[], void *userdata) {
if (table) {
r = table_print(table, NULL);
if (r < 0)
- return table_log_show_error(r);
+ return table_log_print_error(r);
}
return ret;
@@ -330,7 +330,7 @@ static int display_group(int argc, char *argv[], void *userdata) {
if (table) {
r = table_print(table, NULL);
if (r < 0)
- return table_log_show_error(r);
+ return table_log_print_error(r);
}
return ret;
@@ -463,7 +463,7 @@ static int display_memberships(int argc, char *argv[], void *userdata) {
if (table) {
r = table_print(table, NULL);
if (r < 0)
- return table_log_show_error(r);
+ return table_log_print_error(r);
}
return ret;