]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/binfmt_misc.c
ocfs2: Clear undo bits when local alloc is freed
[karo-tx-linux.git] / fs / binfmt_misc.c
index e1158cb4fbd6c9568251696e749dbd56b6bdc588..c4e83537ead77501f03d7fcb3a748727f2624d5e 100644 (file)
@@ -649,7 +649,7 @@ static const struct file_operations bm_register_operations = {
 static ssize_t
 bm_status_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos)
 {
-       char *s = enabled ? "enabled" : "disabled";
+       char *s = enabled ? "enabled\n" : "disabled\n";
 
        return simple_read_from_buffer(buf, nbytes, ppos, s, strlen(s));
 }