]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - systemv/lpoptions.c
Load cups into easysw/current.
[thirdparty/cups.git] / systemv / lpoptions.c
index 155fcb242291820a76b0630b9b795cc83e759821..e6778acc9d5378a3f9488e73f61758d81aea580a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: lpoptions.c 5833 2006-08-16 20:05:58Z mike $"
+ * "$Id: lpoptions.c 6202 2007-01-22 21:37:45Z mike $"
  *
  *   Printer option program for the Common UNIX Printing System (CUPS).
  *
@@ -69,7 +69,7 @@ main(int  argc,                               /* I - Number of command-line arguments */
                *option;                /* Current option */
 
 
-  _cupsSetLocale();
+  _cupsSetLocale(argv);
 
  /*
   * Loop through the command-line arguments...
@@ -440,8 +440,8 @@ list_options(cups_dest_t *dest)     /* I - Destination to list */
   if ((filename = cupsGetPPD(dest->name)) == NULL)
   {
     _cupsLangPrintf(stderr,
-                    _("lpoptions: Destination %s has no PPD file!\n"),
-                   dest->name);
+                    _("lpoptions: Unable to get PPD file for %s: %s\n"),
+                   dest->name, cupsLastErrorString());
     return;
   }
 
@@ -484,5 +484,5 @@ usage(void)
 
 
 /*
- * End of "$Id: lpoptions.c 5833 2006-08-16 20:05:58Z mike $".
+ * End of "$Id: lpoptions.c 6202 2007-01-22 21:37:45Z mike $".
  */