X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fhwclock.c;h=9f8ab08e2bdd0589b9fd5a0d7446c713afbbe5dc;hb=ac6a4abed3e69daf6795e02fa4be1719ae6ae6ab;hp=d40bb2653f886b5ef70b70c53d94aaa15d7715b4;hpb=bbc98d32560cc456531bf254f7b69054921082bd;p=elogind.git diff --git a/src/shared/hwclock.c b/src/shared/hwclock.c index d40bb2653..9f8ab08e2 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;