aa43dcd1c1
possible to match a valid entry in ~/.cdrdao-drivers.
17 lines
339 B
Text
17 lines
339 B
Text
$NetBSD: patch-aa,v 1.6 2004/07/19 02:21:57 fredb Exp $
|
|
|
|
--- dao/ScsiIf-lib.cc.orig 2004-04-13 13:38:58.000000000 -0500
|
|
+++ dao/ScsiIf-lib.cc
|
|
@@ -289,6 +289,12 @@
|
|
revision_[i] = 0;
|
|
}
|
|
|
|
+ if (vendor_[0] == 0)
|
|
+ strncpy(vendor_, "UNKNOWN", 8);
|
|
+
|
|
+ if (product_[0] == 0)
|
|
+ strncpy(product_, "UNKNOWN", 8);
|
|
+
|
|
return 0;
|
|
}
|
|
|