summaryrefslogtreecommitdiff
path: root/src/shared/hwclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/hwclock.c')
-rw-r--r--src/shared/hwclock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/hwclock.c b/src/shared/hwclock.c
index d40bb2653f..9f8ab08e2b 100644
--- a/src/shared/hwclock.c
+++ b/src/shared/hwclock.c
@@ -74,7 +74,7 @@ static int rtc_open(int flags) {
if (ignore_file(de->d_name))
continue;
- p = join("/sys/class/rtc/", de->d_name, "/hctosys", NULL);
+ p = strjoin("/sys/class/rtc/", de->d_name, "/hctosys", NULL);
if (!p) {
closedir(d);
return -ENOMEM;