diff options
Diffstat (limited to 'regress/sys/kern')
-rw-r--r-- | regress/sys/kern/sosplice/error/args-idle-EINVAL.pl | 4 | ||||
-rw-r--r-- | regress/sys/kern/sosplice/error/args-max-EINVAL.pl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/regress/sys/kern/sosplice/error/args-idle-EINVAL.pl b/regress/sys/kern/sosplice/error/args-idle-EINVAL.pl index fccf11ecf1f..3e32cb64287 100644 --- a/regress/sys/kern/sosplice/error/args-idle-EINVAL.pl +++ b/regress/sys/kern/sosplice/error/args-idle-EINVAL.pl @@ -31,9 +31,9 @@ our %args = ( if ($Config{longsize} == 8) { $packed = pack('iiiiiiii', $ss->fileno(),0,0,0,-1,-1,-1,-1); } else { - $packed = pack('iiiii', $ss->fileno(),0,0,-1,-1); + $packed = pack('iiiiii', $ss->fileno(),0,0,-1,-1,-1); } $s->setsockopt(SOL_SOCKET, SO_SPLICE, $packed) - and die "splice to unconnected socket succeeded"; + and die "splice with negative idle timeout succeeded"; }, ); diff --git a/regress/sys/kern/sosplice/error/args-max-EINVAL.pl b/regress/sys/kern/sosplice/error/args-max-EINVAL.pl index e61d83a81b5..135f775e30a 100644 --- a/regress/sys/kern/sosplice/error/args-max-EINVAL.pl +++ b/regress/sys/kern/sosplice/error/args-max-EINVAL.pl @@ -31,9 +31,9 @@ our %args = ( if ($Config{longsize} == 8) { $packed = pack('iiiiiiii', $ss->fileno(),0,-1,-1,0,0,0,0); } else { - $packed = pack('iiiii', $ss->fileno(),-1,-1,0,0); + $packed = pack('iiiiii', $ss->fileno(),-1,-1,0,0,0); } $s->setsockopt(SOL_SOCKET, SO_SPLICE, $packed) - and die "splice to unconnected socket succeeded"; + and die "splice with negative maximum succeeded"; }, ); |