svn commit: r319842 - head/lib/libc/gen
Ngie Cooper
ngie at FreeBSD.org
Mon Jun 12 00:43:16 UTC 2017
Author: ngie
Date: Mon Jun 12 00:43:14 2017
New Revision: 319842
URL: https://svnweb.freebsd.org/changeset/base/319842
Log:
getbsize(3): clarify that underflow/overflow warnings in regard to $BLOCKSIZE
gets output via warnx(3)
This helps set expectations for how one might deal with those messages, i.e.,
mute output from /dev/stderr today, since that's where vwarn(3) outputs messages
to today.
MFC after: 1 month
Modified:
head/lib/libc/gen/getbsize.3
Modified: head/lib/libc/gen/getbsize.3
==============================================================================
--- head/lib/libc/gen/getbsize.3 Mon Jun 12 00:21:55 2017 (r319841)
+++ head/lib/libc/gen/getbsize.3 Mon Jun 12 00:43:14 2017 (r319842)
@@ -28,7 +28,7 @@
.\" @(#)getbsize.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd November 16, 2012
+.Dd June 11, 2017
.Dt GETBSIZE 3
.Os
.Sh NAME
@@ -67,7 +67,8 @@ Sizes less than 512 bytes are rounded up to 512 bytes,
greater than 1 GB are rounded down to 1 GB.
In each case
.Fn getbsize
-produces a warning message.
+produces a warning message via
+.Xr warnx 3 .
.Pp
The
.Fn getbsize
More information about the svn-src-all
mailing list