summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-07-30 23:26:19 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-07-30 23:26:19 +0000
commitf1d4135bd9899111005df9a4783cd5d6e42a4066 (patch)
treeab359eb7093d1ae4ef51ee114664850209998ec4
parente58f4666201e7afc071824f20aff350c9c974cbc (diff)
Notes
-rw-r--r--usr.sbin/newsyslog/newsyslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c
index 0a3d7b373145..150ce5121c78 100644
--- a/usr.sbin/newsyslog/newsyslog.c
+++ b/usr.sbin/newsyslog/newsyslog.c
@@ -613,7 +613,7 @@ dotrim(char *log, const char *pid_file, int numdays, int flags, int perm,
if (noaction) {
printf("mv %s %s\n", zfile1, zfile2);
printf("chmod %o %s\n", perm, zfile2);
- printf("chown %d.%d %s\n",
+ printf("chown %d:%d %s\n",
owner_uid, group_gid, zfile2);
} else {
(void) rename(zfile1, zfile2);