[PATCH 1/1] checkpointable: add missing trailing \n for fdinfo output

From: Serge E . Hallyn
Date: Thu Mar 05 2009 - 13:12:30 EST


Signed-off-by: Serge E. Hallyn <serue@xxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/