examples/qencoder: fix nxstyle warning and errors

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
This commit is contained in:
Michal Lenc 2021-06-15 22:23:58 +02:00 committed by Alan Carvalho de Assis
parent a91e10f8e4
commit aa79958bea

View File

@ -242,7 +242,7 @@ int main(int argc, FAR char *argv[])
{
printf("qe_main: open %s failed: %d\n", g_qeexample.devpath, errno);
exitval = EXIT_FAILURE;
goto errout_with_dev;
goto errout;
}
/* Reset the count if so requested */