[PATCH 3/3] Added a missing "\n" at the end of zbud_unbuddied_list_counts statistic sysfs entry.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Stefan Hengelein <stefan.hengelein@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>

Signed-off-by: Stefan Hengelein <ilendir@xxxxxxxxxxxxxx>
---
 drivers/staging/zcache/zcache-main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/zcache/zcache-main.c b/drivers/staging/zcache/zcache-main.c
index d2f9d9e..8bf0c7f 100644
--- a/drivers/staging/zcache/zcache-main.c
+++ b/drivers/staging/zcache/zcache-main.c
@@ -618,6 +618,7 @@ static int zbud_show_unbuddied_list_counts(char *buf)
 
 	for (i = 0; i < NCHUNKS; i++)
 		p += sprintf(p, "%u ", zbud_unbuddied[i].count);
+	p += sprintf(p, "\n");
 	return p - buf;
 }
 
-- 
1.7.5.4

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux