diff options
author | Richard Jones <rjones@redhat.com> | 2009-06-05 15:51:14 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-06-05 15:51:14 +0100 |
commit | 0b3b482542319bf329974397c99b8c0663b9e536 (patch) | |
tree | 3456bbca81595aa2f8c4d2172f101a016cfae80b /inspector | |
parent | 8281007ff4369feaebc5b8e3395fcbf4a8548561 (diff) | |
download | libguestfs-0b3b482542319bf329974397c99b8c0663b9e536.tar.gz libguestfs-0b3b482542319bf329974397c99b8c0663b9e536.tar.xz libguestfs-0b3b482542319bf329974397c99b8c0663b9e536.zip |
Modules are *.o in Linux 2.4 kernels.
Diffstat (limited to 'inspector')
-rwxr-xr-x | inspector/virt-inspector.pl | 2 |
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; } } |