diff options
author | fangxiuning <fangxiuning123@126.com> | 2020-07-08 09:16:52 +0200 |
---|---|---|
committer | fangxiuning <fangxiuning123@126.com> | 2020-07-08 09:16:52 +0200 |
commit | 4b6607d94933ff297b6893e4eb5cdc622cc97504 (patch) | |
tree | ccf24a4720c3b5181e2b82dffb6c528d5448b695 /src/userdb | |
parent | table add table_log_sort_error() (diff) | |
download | systemd-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.c | 6 |
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; |