fs/mtd: fix malformed output of /proc/partitions
authorHeesub Shin <heesub.shin@samsung.com>
Tue, 16 May 2017 03:49:07 +0000 (12:49 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 23 May 2017 12:40:00 +0000 (21:40 +0900)
commitc615fc236f801cb1eaa41145d7f7b9a25519787f
treed7b9734f15e3ab23bfbbc9005ea81d762a536d21
parent1431b00fdb7b1443d54e3fc26d5cfd74ca306b71
fs/mtd: fix malformed output of /proc/partitions

Output of /proc/partitions is malformed due to incorrect buffer
handling. This commit fixes it.

Change-Id: I4e79d9e40c6ccd3c0698c461ef4a1d0f02db461d
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
os/fs/driver/mtd/mtd_partition.c