aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-01-13 18:24:06 +0100
committerJim Meyering <jim@meyering.net>2007-03-18 18:15:06 +0100
commitb64a11dc769efc3af5b50b7d83a48b3e7cecca6f (patch)
tree6fa4442c8020da0b103e0408a65eaffc076f822b
parent* src/ls.c (gobble_file): Don't call getfilecon unless print_scontext. (diff)
downloadcoreutils-b64a11dc769efc3af5b50b7d83a48b3e7cecca6f.tar.gz
coreutils-b64a11dc769efc3af5b50b7d83a48b3e7cecca6f.zip
* src/chcon.c (usage): Split a string literal that was longer than 509.
-rw-r--r--ChangeLog-selinux2
-rw-r--r--src/chcon.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog-selinux b/ChangeLog-selinux
index 2ef22cef2..fbae67e55 100644
--- a/ChangeLog-selinux
+++ b/ChangeLog-selinux
@@ -1,5 +1,7 @@
2007-01-13 Jim Meyering <jim@meyering.net>
+ * src/chcon.c (usage): Split a string literal that was longer than 509.
+
* src/ls.c (gobble_file): Don't call getfilecon unless print_scontext.
Upon failed getfilecon, accept not just ENOTSUP, but also ENODATA.
diff --git a/src/chcon.c b/src/chcon.c
index 6eee44bb6..af5b1ad22 100644
--- a/src/chcon.c
+++ b/src/chcon.c
@@ -375,6 +375,8 @@ With --reference, change the security context of each FILE to that of RFILE.\n\
-c, --changes like verbose but report only when a change is made\n\
-h, --no-dereference affect symbolic links instead of any referenced file\n\
(available only on systems with lchown system call)\n\
+"), stdout);
+ fputs (_("\
--reference=RFILE use RFILE's security context rather than specifying\n\
a CONTEXT value\n\
-R, --recursive operate on files and directories recursively\n\