]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - backend/scsi-linux.c
Load cups into easysw/current.
[thirdparty/cups.git] / backend / scsi-linux.c
index b5c1d1bef8bae076a3c49326216a96b65aef0ce5..75c9629dc4ec92f22acccf5543a17aad1931ceaa 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: scsi-linux.c 4703 2005-09-26 19:33:58Z mike $"
+ * "$Id: scsi-linux.c 5241 2006-03-07 22:07:44Z mike $"
  *
  *   Linux SCSI printer support for the Common UNIX Printing System (CUPS).
  *
@@ -116,6 +116,8 @@ print_device(const char *resource,  /* I - SCSI device */
   * Open the SCSI device file...
   */
 
+  fputs("STATE: +connecting-to-device\n", stderr);
+
   do
   {
     if ((scsi_fd = open(resource, O_RDWR | O_EXCL)) == -1)
@@ -157,6 +159,8 @@ print_device(const char *resource,  /* I - SCSI device */
   }
   while (scsi_fd == -1);
 
+  fputs("STATE: -connecting-to-device\n", stderr);
+
  /*
   * Now that we are "connected" to the port, ignore SIGTERM so that we
   * can finish out any page data the driver sends (e.g. to eject the
@@ -245,5 +249,5 @@ print_device(const char *resource,  /* I - SCSI device */
 
 
 /*
- * End of "$Id: scsi-linux.c 4703 2005-09-26 19:33:58Z mike $".
+ * End of "$Id: scsi-linux.c 5241 2006-03-07 22:07:44Z mike $".
  */