From 42870edd5edc8afdd018d31da09d3b3afdf49533 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Thu, 17 Jul 2008 21:33:32 +0000 Subject: [PATCH] Support NetBSD 4 --- mount/netbsd-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);