diff --git a/mount/netbsd-lib.pl b/mount/netbsd-lib.pl index a098318c7..c8c8711b9 100755 --- a/mount/netbsd-lib.pl +++ b/mount/netbsd-lib.pl @@ -128,7 +128,7 @@ sub list_mounted { # get the list of mounted filesystems local(@rv, $_); -local $cmd = $uname_release =~ /^3\.[0-9]/ ? "netbsd-mounts-3" : +local $cmd = $uname_release =~ /^[345]\.[0-9]/ ? "netbsd-mounts-3" : $uname_release =~ /^2\.[0-9]/ ? "netbsd-mounts-2" : "netbsd-mounts"; &compile_program($cmd);