diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-06-04 14:57:34 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-06-04 14:57:34 +0000 |
commit | c84619ff9fce6a775a11ea33bc32175591c1584f (patch) | |
tree | 41530734f6a01324bddf5d68528a28ae3a1b80bc /usr.sbin/pkg_add/OpenBSD/Vstat.pm | |
parent | 3ecbd34a160f4de0ad5a1f2af518f23766613210 (diff) |
I am on drugs, I don't know where I found split can take strings as
arguments. Repair...
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Vstat.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Vstat.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Vstat.pm b/usr.sbin/pkg_add/OpenBSD/Vstat.pm index 456e3964087..98f3da05f81 100644 --- a/usr.sbin/pkg_add/OpenBSD/Vstat.pm +++ b/usr.sbin/pkg_add/OpenBSD/Vstat.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Vstat.pm,v 1.32 2007/06/04 14:40:39 espie Exp $ +# $OpenBSD: Vstat.pm,v 1.33 2007/06/04 14:57:33 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -55,7 +55,7 @@ sub init_devices() my $i = create_device($dev); next unless defined $i; next unless defined $opts; - for my $o (split /,\s*/, $opts) { + for my $o (split /\,\s*/o, $opts) { if ($o eq 'read-only') { $i->{ro} = 1; } elsif ($o eq 'nodev') { |