From 0b3b482542319bf329974397c99b8c0663b9e536 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Fri, 5 Jun 2009 15:51:14 +0100 Subject: [PATCH] Modules are *.o in Linux 2.4 kernels. --- inspector/virt-inspector.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inspector/virt-inspector.pl b/inspector/virt-inspector.pl index 6d3c472..e51bfdd 100755 --- a/inspector/virt-inspector.pl +++ b/inspector/virt-inspector.pl @@ -630,7 +630,7 @@ sub check_for_kernels # List modules. my @modules; foreach ($g->find ("/lib/modules/$_")) { - if (m,/([^/]+)\.ko,) { + if (m,/([^/]+)\.ko$, || m,([^/]+)\.o$,) { push @modules, $1; } } -- 1.8.3.1