]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - backend/usb-unix.c
Import CUPS 1.4svn-r7226.
[thirdparty/cups.git] / backend / usb-unix.c
index 9d5273b64b4852d025a8daae85264a1c17d26ce9..104ea7d43cbe3549751891067e399a0d978e0bb9 100644 (file)
@@ -516,7 +516,7 @@ open_device(const char *uri,                /* I - Device URI */
   }
 #else
   {
-    if (use_bc)
+    if (*use_bc)
       fd = open(uri + 4, O_RDWR | O_EXCL);
     else
       fd = -1;