From 5dd7f137b7c4cbbecc9ddbc2ae7578dcf001c884 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 13 Jan 2007 16:43:07 +0100 Subject: * src/id.c (main): Tweak id -Z diagnostic. --- ChangeLog-selinux | 2 ++ src/id.c | 4 ++-- 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 + * 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 cc34d2f4a..282cc46d7 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; -- cgit v1.2.3-70-g09d2