mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
18 lines
338 B
Plaintext
18 lines
338 B
Plaintext
$NetBSD: patch-af,v 1.1 2004/07/19 02:21:57 fredb Exp $
|
|
|
|
--- dao/ScsiIf-nt.cc.orig 2001-09-03 12:37:42.000000000 -0500
|
|
+++ dao/ScsiIf-nt.cc
|
|
@@ -332,6 +332,12 @@
|
|
revision_[i] = 0;
|
|
}
|
|
|
|
+ if (vendor_[0] == 0)
|
|
+ strncpy(vendor_, "UNKNOWN", 8);
|
|
+
|
|
+ if (product_[0] == 0)
|
|
+ strncpy(product_, "UNKNOWN", 8);
|
|
+
|
|
return 0;
|
|
}
|
|
|