$OpenBSD: patch-clients_upsset_c,v 1.7 2008/09/08 19:38:30 martynas Exp $ --- clients/upsset.c.orig Fri Feb 22 21:21:11 2008 +++ clients/upsset.c Wed Aug 27 17:18:49 2008 @@ -192,7 +192,7 @@ static void do_pickups(const char *currfunc) char hostfn[SMALLBUF]; PCONF_CTX_t ctx; - snprintf(hostfn, sizeof(hostfn), "%s/hosts.conf", confpath()); + snprintf(hostfn, sizeof(hostfn), "%s/hosts.conf", cgiconfpath()); printf("
\n"); @@ -990,7 +990,7 @@ static void check_conf(void) char fn[SMALLBUF]; PCONF_CTX_t ctx; - snprintf(fn, sizeof(fn), "%s/upsset.conf", confpath()); + snprintf(fn, sizeof(fn), "%s/upsset.conf", cgiconfpath()); pconf_init(&ctx, upsset_conf_err);