diff options
author | lum <lum@cvs.openbsd.org> | 2011-05-19 05:11:40 +0000 |
---|---|---|
committer | lum <lum@cvs.openbsd.org> | 2011-05-19 05:11:40 +0000 |
commit | 1e687a712e695c6cf93da2be7c3d01ef04f587cb (patch) | |
tree | 61fc0d333aee0a3258ceffdb398a32e70bf74f6c /usr.bin/newsyslog | |
parent | c12cdf0eef70475987751dde34220e8c134e6b30 (diff) |
sync manpage and comment with reality. From Nathanael Rensen.
ok millert@
Diffstat (limited to 'usr.bin/newsyslog')
-rw-r--r-- | usr.bin/newsyslog/newsyslog.8 | 6 | ||||
-rw-r--r-- | usr.bin/newsyslog/newsyslog.c | 4 |
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) { |