summaryrefslogtreecommitdiffstats
path: root/inspector
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-06-05 15:51:14 +0100
committerRichard Jones <rjones@redhat.com>2009-06-05 15:51:14 +0100
commit0b3b482542319bf329974397c99b8c0663b9e536 (patch)
tree3456bbca81595aa2f8c4d2172f101a016cfae80b /inspector
parent8281007ff4369feaebc5b8e3395fcbf4a8548561 (diff)
downloadlibguestfs-0b3b482542319bf329974397c99b8c0663b9e536.tar.gz
libguestfs-0b3b482542319bf329974397c99b8c0663b9e536.tar.xz
libguestfs-0b3b482542319bf329974397c99b8c0663b9e536.zip
Modules are *.o in Linux 2.4 kernels.
Diffstat (limited to 'inspector')
-rwxr-xr-xinspector/virt-inspector.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/inspector/virt-inspector.pl b/inspector/virt-inspector.pl
index 6d3c472f..e51bfdd4 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;
}
}