summaryrefslogtreecommitdiff
path: root/src/shared/clock-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/clock-util.c')
-rw-r--r--src/shared/clock-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/clock-util.c b/src/shared/clock-util.c
index 4f31c10b81..e66db63ba0 100644
--- a/src/shared/clock-util.c
+++ b/src/shared/clock-util.c
@@ -43,7 +43,7 @@
#include "clock-util.h"
#include "fileio.h"
-int clock_get_time(struct tm *tm) {
+int clock_get_hwclock(struct tm *tm) {
_cleanup_close_ int fd = -1;
assert(tm);
@@ -64,7 +64,7 @@ int clock_get_time(struct tm *tm) {
return 0;
}
-int clock_set_time(const struct tm *tm) {
+int clock_set_hwclock(const struct tm *tm) {
_cleanup_close_ int fd = -1;
assert(tm);