drivers/mtd: Fix code alignment for compliance to coding standard
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
f153e42fcb
commit
84e9ff085f
|
@ -633,16 +633,16 @@ 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 %7ju %s\n",
|
||||
partname,
|
||||
(uintmax_t)attr->nextpart->firstblock / blkpererase,
|
||||
(uintmax_t)attr->nextpart->neraseblocks,
|
||||
attr->nextpart->parent->name);
|
||||
"%s%7ju %7ju %s\n",
|
||||
partname,
|
||||
(uintmax_t)attr->nextpart->firstblock / blkpererase,
|
||||
(uintmax_t)attr->nextpart->neraseblocks,
|
||||
attr->nextpart->parent->name);
|
||||
#else
|
||||
ret = snprintf(&buffer[total], buflen - total, "%7ju %7ju %s\n",
|
||||
(uintmax_t)attr->nextpart->firstblock / blkpererase,
|
||||
(uintmax_t)attr->nextpart->neraseblocks,
|
||||
attr->nextpart->parent->name);
|
||||
(uintmax_t)attr->nextpart->firstblock / blkpererase,
|
||||
(uintmax_t)attr->nextpart->neraseblocks,
|
||||
attr->nextpart->parent->name);
|
||||
#endif
|
||||
|
||||
if (ret + total < buflen)
|
||||
|
|
Loading…
Reference in New Issue