$OpenBSD: patch-server_gam_conf_c,v 1.1.1.1 2009/12/04 08:07:20 ajacoutot Exp $ --- server/gam_conf.c.orig Fri Jun 19 16:20:20 2009 +++ server/gam_conf.c Fri Jun 19 16:20:38 2009 @@ -108,8 +108,8 @@ gam_conf_read_internal (const char *filename) void gam_conf_read (void) { - const char *globalconf = "/etc/gamin/gaminrc"; - const char *mandatory = "/etc/gamin/mandatory_gaminrc"; + const char *globalconf = "${SYSCONFDIR}/gamin/gaminrc"; + const char *mandatory = "${SYSCONFDIR}/gamin/mandatory_gaminrc"; gchar *userconf = NULL; userconf = g_strconcat(g_get_home_dir(), "/.gaminrc", NULL); if (userconf == NULL) {