summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/syslogd/args-server-tcp-error.pl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.sbin/syslogd/args-server-tcp-error.pl')
-rw-r--r--regress/usr.sbin/syslogd/args-server-tcp-error.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.sbin/syslogd/args-server-tcp-error.pl b/regress/usr.sbin/syslogd/args-server-tcp-error.pl
index 292f3cced80..4681c6876e7 100644
--- a/regress/usr.sbin/syslogd/args-server-tcp-error.pl
+++ b/regress/usr.sbin/syslogd/args-server-tcp-error.pl
@@ -19,7 +19,7 @@ our %args = (
func => sub {
my $self = shift;
${$self->{syslogd}}->loggrep("loghost .* connection error", 5)
- or die "no connection error in syslogd.log";
+ or die ref($self), " no connection error in syslogd.log";
write_log($self);
},
},
@@ -36,7 +36,7 @@ our %args = (
func => sub {
my $self = shift;
setsockopt(STDOUT, SOL_SOCKET, SO_LINGER, pack('ii', 1, 0))
- or die "set socket linger failed: $!";
+ or die ref($self), " set socket linger failed: $!";
},
loggrep => {},
},