diff options
author | Jim Meyering <meyering@redhat.com> | 2008-06-16 13:03:07 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-06-16 13:42:01 +0200 |
commit | 3de15598304c141bdac5a3545874bab035536d88 (patch) | |
tree | 3dcf60ca0fce0f0cfd6631afb9917a8fc7315806 /src | |
parent | 956abf969ca4e8f01403ae39991e42f0ad3c27cb (diff) | |
download | coreutils-3de15598304c141bdac5a3545874bab035536d88.tar.xz |
chcon: correct --verbose output to include newlines
* src/chcon.c (process_file): Append "\n" to --verbose diagnostic.
* tests/misc/chcon: Add a test for the above.
* NEWS: mention the bug fix
Reported by Carl D. Roth in http://bugzilla.redhat.com/451478.
Diffstat (limited to 'src')
-rw-r--r-- | src/chcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chcon.c b/src/chcon.c index a043413fa..b271ce4a0 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) |