diff --git a/mount/netbsd-lib.pl b/mount/netbsd-lib.pl index d46125a3a..60805ad1e 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 =~ /^[345]\.[0-9]/ ? "netbsd-mounts-3" : +local $cmd = $uname_release =~ /^[3456789]\.[0-9]/ ? "netbsd-mounts-3" : $uname_release =~ /^2\.[0-9]/ ? "netbsd-mounts-2" : "netbsd-mounts"; &compile_program($cmd);