summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/syslogd
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2017-11-27 16:53:05 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2017-11-27 16:53:05 +0000
commit1ead5edeb3f531e81df4e1ec9e0608ec27cb1645 (patch)
treef2ff04927d40eae1fbae793729c49f112798fb68 /regress/usr.sbin/syslogd
parentd33b112de139cdaffd3f35d8e5b71b6fabd00b71 (diff)
lenght->length, mostly in comments
Diffstat (limited to 'regress/usr.sbin/syslogd')
-rw-r--r--regress/usr.sbin/syslogd/funcs.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/regress/usr.sbin/syslogd/funcs.pl b/regress/usr.sbin/syslogd/funcs.pl
index 0ab59a2e05e..8bc47ec4b31 100644
--- a/regress/usr.sbin/syslogd/funcs.pl
+++ b/regress/usr.sbin/syslogd/funcs.pl
@@ -1,4 +1,4 @@
-# $OpenBSD: funcs.pl,v 1.33 2017/09/13 00:35:53 bluhm Exp $
+# $OpenBSD: funcs.pl,v 1.34 2017/11/27 16:53:04 sthen Exp $
# Copyright (c) 2010-2015 Alexander Bluhm <bluhm@openbsd.org>
#
@@ -122,18 +122,18 @@ sub write_shutdown {
sub write_lines {
my $self = shift;
- my ($lines, $lenght) = @_;
+ my ($lines, $length) = @_;
foreach (1..$lines) {
- write_chars($self, $lenght, " $_");
+ write_chars($self, $length, " $_");
}
}
sub write_lengths {
my $self = shift;
- my ($lenghts, $tail) = ref $_[0] ? @_ : [@_];
+ my ($lengths, $tail) = ref $_[0] ? @_ : [@_];
- write_chars($self, $lenghts, $tail);
+ write_chars($self, $lengths, $tail);
}
sub generate_chars {