]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Log the filename that cannot be opened.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 22 May 2015 16:26:29 +0000 (16:26 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 22 May 2015 16:26:29 +0000 (16:26 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12654 a1ca3aef-8c08-0410-bb20-df032aa958be

filter/pstops.c

index 1b57014e718ce0231f5d5176d05f3c0756e488e0..49c6e3c25ea31829a3e83b4ee820131dcbffae24 100644 (file)
@@ -265,7 +265,11 @@ main(int  argc,                            /* I - Number of command-line args */
     if ((fp = cupsFileOpen(argv[6], "r")) == NULL)
     {
       if (!JobCanceled)
+      {
+        fprintf(stderr, "DEBUG: Unable to open \"%s\".\n", argv[6]);
         _cupsLangPrintError("ERROR", _("Unable to open print file"));
+      }
+
       return (1);
     }
   }