From dccae053f78ffb116d002617b8a0cd065da7333c Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Thu, 23 Jan 2014 09:37:03 +0000 Subject: [PATCH] Update EINVAL description. This matches current POSIX standards and actual FreeBSD behavior. MFC after: 1 week --- lib/libc/sys/posix_fallocate.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/sys/posix_fallocate.2 b/lib/libc/sys/posix_fallocate.2 index 087c68c2eca..7b17133bd03 100644 --- a/lib/libc/sys/posix_fallocate.2 +++ b/lib/libc/sys/posix_fallocate.2 @@ -28,7 +28,7 @@ .\" @(#)open.2 8.2 (Berkeley) 11/16/93 .\" $FreeBSD$ .\" -.Dd February 25, 2012 +.Dd January 23, 2014 .Dt POSIX_FALLOCATE 2 .Os .Sh NAME @@ -107,7 +107,7 @@ A signal was caught during execution. .It Bq Er EINVAL The .Fa len -argument was zero or the +argument was less than or equal to zero or the .Fa offset argument was less than zero. .It Bq Er EIO