patch-prnt_hpijs_globals_cpp 494 B

12345678910111213
  1. $OpenBSD: patch-prnt_hpijs_globals_cpp,v 1.3 2010/03/21 11:07:43 ajacoutot Exp $
  2. --- prnt/hpijs/globals.cpp.orig Thu Feb 25 00:10:32 2010
  3. +++ prnt/hpijs/globals.cpp Fri Mar 12 13:40:17 2010
  4. @@ -251,7 +251,7 @@ void *LoadPlugin (const char *szPluginName)
  5. void *ptemp = NULL;
  6. char *p = NULL;
  7. int bFound = 0;
  8. - if ((fp = fopen ("/etc/hp/hplip.conf", "r")) == NULL)
  9. + if ((fp = fopen ("${SYSCONFDIR}/hp/hplip.conf", "r")) == NULL)
  10. {
  11. return NULL;
  12. }