2009-07-13 04:14:28 -04:00
|
|
|
$OpenBSD: patch-prnt_hpijs_globals_cpp,v 1.2 2009/07/13 08:14:28 ajacoutot Exp $
|
|
|
|
--- prnt/hpijs/globals.cpp.orig Thu Jul 2 14:06:40 2009
|
|
|
|
+++ prnt/hpijs/globals.cpp Thu Jul 2 14:06:50 2009
|
|
|
|
@@ -249,7 +249,7 @@ void *LoadPlugin (const char *szPluginName)
|
2009-02-02 05:47:11 -05:00
|
|
|
void *ptemp = NULL;
|
|
|
|
char *p = NULL;
|
|
|
|
int bFound = 0;
|
|
|
|
- if ((fp = fopen ("/etc/hp/hplip.conf", "r")) == NULL)
|
|
|
|
+ if ((fp = fopen ("${SYSCONFDIR}/hp/hplip.conf", "r")) == NULL)
|
|
|
|
{
|
|
|
|
return NULL;
|
|
|
|
}
|