summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-01-13 16:43:07 +0100
committerJim Meyering <jim@meyering.net>2007-03-18 18:15:05 +0100
commit5f997760c926a9d0d17bee405abea8406fc40e8b (patch)
tree5a7a3402bb489f1bf096c608fa3cbe81f3729d32
parent10ca93af8f4af7a576f439bf256f281b7a761279 (diff)
downloadcoreutils-5f997760c926a9d0d17bee405abea8406fc40e8b.tar.gz
* src/id.c (main): Tweak id -Z diagnostic.
-rw-r--r--ChangeLog-selinux2
-rw-r--r--src/id.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog-selinux b/ChangeLog-selinux
index 4993bd88e..f8f92c3f4 100644
--- a/ChangeLog-selinux
+++ b/ChangeLog-selinux
@@ -1,5 +1,7 @@
2007-01-13 Jim Meyering <jim@meyering.net>
+ * src/id.c (main): Tweak id -Z diagnostic.
+
id: Add SELinux support: -Z option.
* src/id.c (main): Apply patches from Fedora, with these changes:
Remove #ifdef WITH_SELINUX.
diff --git a/src/id.c b/src/id.c
index 5adf0102e..cced6ecb0 100644
--- a/src/id.c
+++ b/src/id.c
@@ -141,8 +141,8 @@ main (int argc, char **argv)
case 'Z':
/* politely decline if we're not on a selinux-enabled kernel. */
if (!selinux_enabled)
- error (EXIT_FAILURE, 0, _("--context (-Z) can be used only on "
- "an SELinux-enabled kernel"));
+ error (EXIT_FAILURE, 0,
+ _("--context (-Z) works only on an SELinux-enabled kernel"));
just_context = 1;
break;