blob: a0b64e90cece79decc8dcabee5f580a4aed76d00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ag,v 1.3 2004/07/19 02:21:57 fredb Exp $
--- dao/ScsiIf-win.cc.orig 2001-09-03 12:37:42.000000000 -0500
+++ dao/ScsiIf-win.cc
@@ -355,5 +355,15 @@
revision_[i] = 0;
}
+ if (vendor_[0] == 0)
+ {
+ strncpy(vendor_, "UNKNOWN", 8);
+ }
+
+ if (product_[0] == 0)
+ {
+ strncpy(product_, "UNKNOWN", 8);
+ }
+
return 0;
}
|