Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Jim Meyering <jim <at> meyering.net>
Subject: [PATCH] chcon: correct --verbose output to include newlines
Newsgroups: gmane.comp.gnu.core-utils.bugs
Date: Monday 16th June 2008 11:06:07 UTC (over 9 years ago)
I've just made this change:

>From 30bf4beed36950fb9beaa75e9ca19e79c76a65eb Mon Sep 17 00:00:00 2001
From: Jim Meyering 
Date: Mon, 16 Jun 2008 13:03:07 +0200
Subject: [PATCH] chcon: correct --verbose output to include newlines

* src/chcon.c (process_file): Append "\n" to --verbose diagnostic.
Reported by Carl D. Roth in http://bugzilla.redhat.com/451478.
---
 src/chcon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/chcon.c b/src/chcon.c
index a043413..b271ce4 100644
--- a/src/chcon.c
+++ b/src/chcon.c
@@ -300,7 +300,7 @@ process_file (FTS *fts, FTSENT *ent)
   if (ok)
     {
       if (verbose)
-	printf (_("changing security context of %s"),
+	printf (_("changing security context of %s\n"),
 		quote (file_full_name));

       if (change_file_context (fts->fts_cwd_fd, file) != 0)
--
1.5.6.rc2.47.g075fa
 
CD: 19ms