]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* src/id.c (main): Tweak id -Z diagnostic.
authorJim Meyering <jim@meyering.net>
Sat, 13 Jan 2007 15:43:07 +0000 (16:43 +0100)
committerJim Meyering <jim@meyering.net>
Sun, 18 Mar 2007 17:15:05 +0000 (18:15 +0100)
ChangeLog-selinux
src/id.c

index 4993bd88e6a69f081ec0e4b87d99ccd3fc987c1e..f8f92c3f4af927b1db5bb06fe33af4f90cff65bc 100644 (file)
@@ -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.
index 5adf0102e9ed389a7e517125c12202671886b0b9..cced6ecb07e61879d87fcb84cb1475affea1883f 100644 (file)
--- 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;