aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2008-07-25 17:31:31 +0000
committerPetter Reinholdtsen <pere@hungry.com>2008-07-25 17:31:31 +0000
commitfceb82f2b19f9a1e3a9a1c461c5d3dfd4da28d19 (patch)
treedb04730d6ec833b54fd4948a7144bd6332c67fe6
parent87aa92808aaf76340c00577657e15b588b9618c8 (diff)
downloadsitesummary-fceb82f2b19f9a1e3a9a1c461c5d3dfd4da28d19.tar.gz
sitesummary-fceb82f2b19f9a1e3a9a1c461c5d3dfd4da28d19.tar.bz2
sitesummary-fceb82f2b19f9a1e3a9a1c461c5d3dfd4da28d19.tar.xz
Make it more obvious why some machines do not get vendor/model stats.
-rwxr-xr-xhardware-model-summary2
1 files changed, 1 insertions, 1 deletions
diff --git a/hardware-model-summary b/hardware-model-summary
index ebdc390..383ac29 100755
--- a/hardware-model-summary
+++ b/hardware-model-summary
@@ -31,7 +31,7 @@ sub handle_host {
my $hostid = shift;
#print "$hostid\n";
my ($vendor, $model, undef) = get_hardware_info($hostid);
- $vendor = "[unknown]" unless defined $vendor;
+ $vendor = "[no-dmi-info]" unless defined $vendor;
$vendors{$vendor}++;
if ($model) {
$models{$vendor}{$model}++;