summaryrefslogtreecommitdiff
path: root/src/timedate
diff options
context:
space:
mode:
authorfangxiuning <fangxiuning123@126.com>2020-07-08 15:16:52 +0800
committerfangxiuning <fangxiuning123@126.com>2020-07-08 15:16:52 +0800
commit4b6607d94933ff297b6893e4eb5cdc622cc97504 (patch)
treeccf24a4720c3b5181e2b82dffb6c528d5448b695 /src/timedate
parentdf83eb546b55222ef5cd30eb8d7c915f5be85878 (diff)
downloadsystemd-4b6607d94933ff297b6893e4eb5cdc622cc97504.tar.gz
table use table_log_print_error() instead of table_log_show_error
Diffstat (limited to 'src/timedate')
-rw-r--r--src/timedate/timedatectl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/timedate/timedatectl.c b/src/timedate/timedatectl.c
index 102ffece63..eaac3b3e35 100644
--- a/src/timedate/timedatectl.c
+++ b/src/timedate/timedatectl.c
@@ -160,7 +160,7 @@ static int print_status_info(const StatusInfo *i) {
r = table_print(table, NULL);
if (r < 0)
- return table_log_show_error(r);
+ return table_log_print_error(r);
if (i->rtc_local)
printf("\n%s"
@@ -433,7 +433,7 @@ static int print_ntp_status_info(NTPStatusInfo *i) {
r = table_print(table, NULL);
if (r < 0)
- return table_log_show_error(r);
+ return table_log_print_error(r);
return 0;
}
@@ -442,7 +442,7 @@ static int print_ntp_status_info(NTPStatusInfo *i) {
log_error("Invalid NTP response");
r = table_print(table, NULL);
if (r < 0)
- return table_log_show_error(r);
+ return table_log_print_error(r);
return 0;
}
@@ -526,7 +526,7 @@ static int print_ntp_status_info(NTPStatusInfo *i) {
r = table_print(table, NULL);
if (r < 0)
- table_log_show_error(r);
+ return table_log_print_error(r);
return 0;
}