diff options
author | 2004-02-10 18:54:57 +0000 | |
---|---|---|
committer | 2004-02-10 18:54:57 +0000 | |
commit | 267efc2346baff7076789a86d45949be1fc274c2 (patch) | |
tree | a03556af9e01eab730ae36a68b81e398a548c6fb | |
parent | harder check in picky mode: find the page AND verify it is the same. (diff) | |
download | wireguard-openbsd-267efc2346baff7076789a86d45949be1fc274c2.tar.xz wireguard-openbsd-267efc2346baff7076789a86d45949be1fc274c2.zip |
misleading regexp -> pattern
-rw-r--r-- | libexec/makewhatis/makewhatis.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/makewhatis/makewhatis.pl b/libexec/makewhatis/makewhatis.pl index 8a8e17d0ad3..f38b6714221 100644 --- a/libexec/makewhatis/makewhatis.pl +++ b/libexec/makewhatis/makewhatis.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl -w # ex:ts=8 sw=4: -# $OpenBSD: makewhatis.pl,v 1.25 2004/02/10 18:51:31 espie Exp $ +# $OpenBSD: makewhatis.pl,v 1.26 2004/02/10 18:54:57 espie Exp $ # # Copyright (c) 2000 Marc Espie. # @@ -79,8 +79,8 @@ sub write_uniques sub found($$) { - my ($regexp, $filename) = @_; - my @candidates = glob $regexp; + my ($pattern, $filename) = @_; + my @candidates = glob $pattern; if (@candidates > 0) { # quick check of inode, dev number my ($dev_cmp, $inode_cmp) = (stat $filename)[0,1]; |