aa43dcd1c1
possible to match a valid entry in ~/.cdrdao-drivers.
17 lines
391 B
Text
17 lines
391 B
Text
$NetBSD: patch-ah,v 1.1 2004/07/19 02:21:57 fredb Exp $
|
|
|
|
--- dao/ScsiIf-freebsd-cam.cc.orig 2001-09-03 12:37:42.000000000 -0500
|
|
+++ dao/ScsiIf-freebsd-cam.cc
|
|
@@ -220,6 +220,12 @@
|
|
for (i = 3; i >= 0 && revision_[i] == ' '; i--)
|
|
revision_[i] = 0;
|
|
|
|
+ if (vendor_[0] == 0)
|
|
+ strncpy(vendor_, "UNKNOWN", 8);
|
|
+
|
|
+ if (product_[0] == 0)
|
|
+ strncpy(product_, "UNKNOWN", 8);
|
|
+
|
|
return 0;
|
|
}
|
|
|