hplip-retry-open.patch 699 B

1234567891011121314151617
  1. diff -up hplip-3.9.12/prnt/backend/hp.c.retry-open hplip-3.9.12/prnt/backend/hp.c
  2. --- hplip-3.9.12/prnt/backend/hp.c.retry-open 2010-01-05 15:14:30.000000000 +0000
  3. +++ hplip-3.9.12/prnt/backend/hp.c 2010-01-05 15:16:03.521911780 +0000
  4. @@ -741,12 +741,6 @@ int main(int argc, char *argv[])
  5. goto bugout;
  6. }
  7. - if (stat != HPMUD_R_DEVICE_BUSY)
  8. - {
  9. - BUG("ERROR: open device failed stat=%d: %s\n", stat, argv[0]);
  10. - goto bugout;
  11. - }
  12. -
  13. /* Display user error. */
  14. device_event(argv[0], printer, 5000+stat, argv[2], argv[1], argv[3]);