summaryrefslogtreecommitdiff
path: root/print/hplip/files/patch-prnt_hpijs_hpcupsfax.cpp
blob: 217e6bc7105c2850c1d6d1c910388b295f568125 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- prnt/hpijs/hpcupsfax.cpp.orig	2022-02-23 07:41:05 UTC
+++ prnt/hpijs/hpcupsfax.cpp
@@ -94,7 +94,7 @@ static void GetLogLevel ()
     FILE    *fp;
     char    str[258];
     char    *p;
-    fp = fopen ("/etc/cups/cupsd.conf", "r");
+    fp = fopen ("/usr/local/etc/cups/cupsd.conf", "r");
     if (fp == NULL)
         return;
     while (!feof (fp))
@@ -687,7 +687,7 @@ int main (int argc, char **argv)
          return 1;
     }
     else
-        chmod(hpFileName, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP );
+        chmod(hpFileName, S_IRUSR | S_IWUSR | S_IRGRP | 0 );
 
     /*********** MAIN ***********/