mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
* Fix build with gcc-10 Closes: https://bugs.gentoo.org/707610 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
15 lines
466 B
Diff
15 lines
466 B
Diff
--- a/src/xradius_cache.c
|
|
+++ b/src/xradius_cache.c
|
|
@@ -143,9 +143,9 @@
|
|
/* Running as Root */
|
|
if (geteuid() == 0) {
|
|
/* Allow the configured Apache use to read/write to the DBM */
|
|
- chown(path1, unixd_config.user_id, -1);
|
|
+ chown(path1, ap_unixd_config.user_id, -1);
|
|
if (path2 != NULL) {
|
|
- chown(path2, unixd_config.user_id, -1);
|
|
+ chown(path2, ap_unixd_config.user_id, -1);
|
|
}
|
|
}
|
|
#endif
|