apps/examples/nxflat: A little crap was left in the file from last change.

This commit is contained in:
Gregory Nutt 2017-10-02 14:40:48 -06:00
parent 56814bec38
commit 926a52bc5e

View File

@ -223,19 +223,10 @@ int nxflat_main(int argc, char *argv[])
filename = fullpath;
#endif
/* Load the NXFLAT module */
/* Execute the NXFLAT module */
args[0] = NULL;
ret = exec(filename, args, exports, NEXPORTS);
if (ret < 0)
{
errmsg("ERROR: Failed to load program '%s'\n", dirlist[i]);
exit(1);
}
/* Execute the ELF module */
ret = exec_module(&bin);
if (ret < 0)
{
errmsg("ERROR: exec(%s) failed: %d\n", dirlist[i], errno);