]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/sysusers/sysusers.c
env-util: also rename getenv_uint64_secure() → secure_getenv_uint64()
[thirdparty/systemd.git] / src / sysusers / sysusers.c
index 6e28b1cf8ffde153ae23a8a94df81b4f5e652433..e443b1021160e3b4dc6b302a14587fd3ce42700b 100644 (file)
@@ -569,7 +569,7 @@ static int write_temporary_passwd(
 static usec_t epoch_or_now(void) {
         uint64_t epoch;
 
-        if (getenv_uint64_secure("SOURCE_DATE_EPOCH", &epoch) >= 0) {
+        if (secure_getenv_uint64("SOURCE_DATE_EPOCH", &epoch) >= 0) {
                 if (epoch > UINT64_MAX/USEC_PER_SEC) /* Overflow check */
                         return USEC_INFINITY;
                 return (usec_t) epoch * USEC_PER_SEC;