drivers/mtd: Fix /proc/partitions column alignment on NSH
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
2568cc1212
commit
f153e42fcb
@ -632,7 +632,8 @@ static ssize_t part_procfs_read(FAR struct file *filep, FAR char *buffer,
|
||||
|
||||
/* Terminate the partition name and add to output buffer */
|
||||
|
||||
ret = snprintf(&buffer[total], buflen - total, "%s%7ju %ju %s\n",
|
||||
ret = snprintf(&buffer[total], buflen - total,
|
||||
"%s%7ju %7ju %s\n",
|
||||
partname,
|
||||
(uintmax_t)attr->nextpart->firstblock / blkpererase,
|
||||
(uintmax_t)attr->nextpart->neraseblocks,
|
||||
|
Loading…
Reference in New Issue
Block a user