summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorlum <lum@cvs.openbsd.org>2011-05-19 05:11:40 +0000
committerlum <lum@cvs.openbsd.org>2011-05-19 05:11:40 +0000
commit1e687a712e695c6cf93da2be7c3d01ef04f587cb (patch)
tree61fc0d333aee0a3258ceffdb398a32e70bf74f6c /usr.bin
parentc12cdf0eef70475987751dde34220e8c134e6b30 (diff)
sync manpage and comment with reality. From Nathanael Rensen.
ok millert@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/newsyslog/newsyslog.86
-rw-r--r--usr.bin/newsyslog/newsyslog.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/newsyslog/newsyslog.8 b/usr.bin/newsyslog/newsyslog.8
index 745cf2f8478..0a532de83ee 100644
--- a/usr.bin/newsyslog/newsyslog.8
+++ b/usr.bin/newsyslog/newsyslog.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: newsyslog.8,v 1.45 2009/11/28 14:42:04 schwarze Exp $
+.\" $OpenBSD: newsyslog.8,v 1.46 2011/05/19 05:11:39 lum Exp $
.\"
.\" Copyright (c) 1997, Jason Downs. All rights reserved.
.\"
@@ -41,7 +41,7 @@
.\" the suitability of this software for any purpose. It is
.\" provided "as is" without express or implied warranty.
.\"
-.Dd $Mdocdate: November 28 2009 $
+.Dd $Mdocdate: May 19 2011 $
.Dt NEWSYSLOG 8
.Os
.Sh NAME
@@ -213,7 +213,7 @@ or set to
then the size of
the log file is not taken into account when determining when to trim the
log file.
-By default, files smaller than 512 bytes are not rotated unless the
+By default, files smaller than 256 bytes are not rotated unless the
.Sq B
(binary) flag is set or the
.Fl F
diff --git a/usr.bin/newsyslog/newsyslog.c b/usr.bin/newsyslog/newsyslog.c
index f159361cb4e..3a845e7ef90 100644
--- a/usr.bin/newsyslog/newsyslog.c
+++ b/usr.bin/newsyslog/newsyslog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: newsyslog.c,v 1.88 2010/07/24 00:54:46 nicm Exp $ */
+/* $OpenBSD: newsyslog.c,v 1.89 2011/05/19 05:11:39 lum Exp $ */
/*
* Copyright (c) 1999, 2002, 2003 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -898,7 +898,7 @@ compress_log(struct conf_entry *ent)
}
}
-/* Return size in kilobytes of a file */
+/* Return size in bytes of a file */
off_t
sizefile(struct stat *sb)
{