$OpenBSD: patch-clients_upsset_c,v 1.3 2004/02/09 06:48:48 marcm Exp $ --- clients/upsset.c.orig 2004-01-03 14:55:55.000000000 -0800 +++ clients/upsset.c 2004-01-03 14:56:19.000000000 -0800 @@ -299,7 +299,7 @@ static void do_pickups(const char *currf char hostfn[SMALLBUF]; PCONF_CTX ctx; - snprintf(hostfn, sizeof(hostfn), "%s/hosts.conf", confpath()); + snprintf(hostfn, sizeof(hostfn), "%s/hosts.conf", cgiconfpath()); printf("
\n"); @@ -1495,7 +1495,7 @@ static void check_conf(void) char fn[SMALLBUF]; PCONF_CTX ctx; - snprintf(fn, sizeof(fn), "%s/upsset.conf", confpath()); + snprintf(fn, sizeof(fn), "%s/upsset.conf", cgiconfpath()); pconf_init(&ctx, upsset_conf_err);