]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix typos.
authorMichael R Sweet <msweet@msweet.org>
Tue, 16 Apr 2024 13:52:31 +0000 (09:52 -0400)
committerMichael R Sweet <msweet@msweet.org>
Tue, 16 Apr 2024 13:52:31 +0000 (09:52 -0400)
cups/cachebench.c
scheduler/printers.c

index 410894d3cee61022a7f6c4bc2b84244f6e2d5e90..bbcb310738f6c6491bbd0bcb9b5638a2c9439236 100644 (file)
@@ -119,7 +119,7 @@ main(int  argc,                             // I - Number of command-line args
       return (1);
     }
 
-    pc       = _ppdCacheCreateWithPPD(ppd);
+    pc       = _ppdCacheCreateWithPPD(NULL, ppd);
     pc_attrs = create_attrs(pc);
 
     gettimeofday(&endtime, NULL);
index e67d32b41dd27443bcfe3284f6dd5d2b3a22d44e..f309600e9c7de59431e56eef5e5f7f8eba30982c 100644 (file)
@@ -4011,7 +4011,7 @@ load_ppd(cupsd_printer_t *p)              /* I - Printer */
     ippAddStrings(p->ppd_attrs, IPP_TAG_PRINTER, IPP_CONST_TAG(IPP_TAG_KEYWORD), "job-creation-attributes-supported", sizeof(job_creation_print) / sizeof(job_creation_print[0]), NULL, job_creation_print);
   }
 
-  if ((ppd = _ppdOpenFile(ppd_name, _PPD_LOCALIZATION_NONE)) != NULL)
+  if ((ppd = ppdOpenFile(ppd_name)) != NULL)
   {
    /*
     * Add make/model and other various attributes...