Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/newsyslog - Wrap line.
details: https://anonhg.NetBSD.org/src/rev/4b1353895535
branches: trunk
changeset: 495237:4b1353895535
user: ad <ad%NetBSD.org@localhost>
date: Mon Jul 24 15:15:25 2000 +0000
description:
- Wrap line.
- Minor oops in a comment.
diffstat:
usr.bin/newsyslog/newsyslog.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r 2a710076aaa5 -r 4b1353895535 usr.bin/newsyslog/newsyslog.c
--- a/usr.bin/newsyslog/newsyslog.c Mon Jul 24 15:15:00 2000 +0000
+++ b/usr.bin/newsyslog/newsyslog.c Mon Jul 24 15:15:25 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: newsyslog.c,v 1.34 2000/07/19 10:52:35 ad Exp $ */
+/* $NetBSD: newsyslog.c,v 1.35 2000/07/24 15:15:25 ad Exp $ */
/*
* Copyright (c) 1999, 2000 Andrew Doran <ad%NetBSD.org@localhost>
@@ -55,7 +55,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: newsyslog.c,v 1.34 2000/07/19 10:52:35 ad Exp $");
+__RCSID("$NetBSD: newsyslog.c,v 1.35 2000/07/24 15:15:25 ad Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -260,7 +260,7 @@
}
/*
- * We may only change the file's group as non-root.
+ * We may only change the file's owner as non-root.
*/
if (myeuid != 0) {
if (pw->pw_uid != myeuid)
@@ -489,7 +489,8 @@
pid_t pid;
/* Remove oldest historical log. */
- snprintf(file1, sizeof (file1), "%s.%d", log->logfile, log->numhist - 1);
+ snprintf(file1, sizeof (file1), "%s.%d", log->logfile,
+ log->numhist - 1);
PRINFO(("rm -f %s\n", file1));
if (!noaction)
Home |
Main Index |
Thread Index |
Old Index