module: Appease nxstyle complaints
This commit is contained in:
parent
e30177de4e
commit
9dca031f26
@ -167,7 +167,8 @@ int main(int argc, FAR char *argv[])
|
||||
ret = boardctl(BOARDIOC_OS_SYMTAB, (uintptr_t)&symdesc);
|
||||
if (ret < 0)
|
||||
{
|
||||
fprintf(stderr, "ERROR: boardctl(BOARDIOC_OS_SYMTAB) failed: %d\n", ret);
|
||||
fprintf(stderr, "ERROR: boardctl(BOARDIOC_OS_SYMTAB) failed: %d\n",
|
||||
ret);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
#endif
|
||||
@ -188,7 +189,8 @@ int main(int argc, FAR char *argv[])
|
||||
* anyway).
|
||||
*/
|
||||
|
||||
ret = romdisk_register(CONFIG_EXAMPLES_MODULE_DEVMINOR, (FAR uint8_t *)romfs_img,
|
||||
ret = romdisk_register(CONFIG_EXAMPLES_MODULE_DEVMINOR,
|
||||
(FAR uint8_t *)romfs_img,
|
||||
NSECTORS(romfs_img_len), SECTORSIZE);
|
||||
if (ret < 0)
|
||||
{
|
||||
@ -275,7 +277,7 @@ int main(int argc, FAR char *argv[])
|
||||
CONFIG_EXAMPLES_MODULE_FSTYPE, MS_RDONLY, NULL);
|
||||
if (ret < 0)
|
||||
{
|
||||
printf("ERROR: mount(%s, %s, %s) failed: %d\n",\
|
||||
printf("ERROR: mount(%s, %s, %s) failed: %d\n",
|
||||
CONFIG_EXAMPLES_MODULE_DEVPATH, CONFIG_EXAMPLES_MODULE_FSTYPE,
|
||||
MOUNTPT, errno);
|
||||
}
|
||||
@ -330,7 +332,8 @@ int main(int argc, FAR char *argv[])
|
||||
}
|
||||
|
||||
printf("main: Wrote %d bytes: %d\n", (int)nbytes);
|
||||
lib_dumpbuffer("main: Bytes written", (FAR const uint8_t *)g_write_string, nbytes);
|
||||
lib_dumpbuffer("main: Bytes written", (FAR const uint8_t *)g_write_string,
|
||||
nbytes);
|
||||
|
||||
close(fd);
|
||||
ret = rmmod(handle);
|
||||
|
Loading…
Reference in New Issue
Block a user