summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/harddrake/data.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index a840d7d38..d7c5befff 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -73,7 +73,10 @@ our @tree =
sub custom_id {
my ($device, $str) = @_;
- defined($device->{device}) ? $device->{device} : (defined($device->{description}) ? $device->{description} : $str);
+ defined($device->{device}) ? $device->{device} :
+ (defined($device->{processor}) ?
+ "$device->{vendor_id} " . _("cpu number ") . $device->{processor} :
+ (defined($device->{description}) ? $device->{description} : $str));
}
1;