[PATCH 1/1] checkpointable: add missing trailing \n for fdinfo output
Serge E. Hallyn
serue at us.ibm.com
Thu Mar 5 10:12:30 PST 2009
Signed-off-by: Serge E. Hallyn <serue at us.ibm.com>
---
fs/proc/base.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/proc/base.c b/fs/proc/base.c
index bde92c3..12543b6 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -1657,7 +1657,7 @@ static void proc_fd_write_info(struct file *file, char *info)
if (file->f_op->checkpoint)
checkpointable = 1;
- p += scnprintf(info+p, max-p, "checkpointable:\t%d", checkpointable);
+ p += scnprintf(info+p, max-p, "checkpointable:\t%d\n", checkpointable);
if (!checkpointable)
p += cr_explain_file(file, info+p, max-p);
}
--
1.5.4.3
More information about the Containers
mailing list