summaryrefslogtreecommitdiff
path: root/hplip-retry-open.patch
diff options
context:
space:
mode:
Diffstat (limited to 'hplip-retry-open.patch')
-rw-r--r--hplip-retry-open.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/hplip-retry-open.patch b/hplip-retry-open.patch
new file mode 100644
index 0000000..3667108
--- /dev/null
+++ b/hplip-retry-open.patch
@@ -0,0 +1,16 @@
+diff -up hplip-3.9.12/prnt/backend/hp.c.retry-open hplip-3.9.12/prnt/backend/hp.c
+--- hplip-3.9.12/prnt/backend/hp.c.retry-open 2010-01-05 15:14:30.000000000 +0000
++++ hplip-3.9.12/prnt/backend/hp.c 2010-01-05 15:16:03.521911780 +0000
+@@ -741,12 +741,6 @@ int main(int argc, char *argv[])
+ goto bugout;
+ }
+
+- if (stat != HPMUD_R_DEVICE_BUSY)
+- {
+- BUG("ERROR: open device failed stat=%d: %s\n", stat, argv[0]);
+- goto bugout;
+- }
+-
+ /* Display user error. */
+ device_event(argv[0], printer, 5000+stat, argv[2], argv[1], argv[3]);
+