apps/examples/userfs:  Fix check for open with write+append mode.
@@ -232,7 +232,7 @@ static int ufstest_open(FAR void *volinfo, FAR const char *relpath,
return -ENOMEM;
}
- if ((oflags && O_APPEND) != 0)
+ if ((oflags & (O_WROK | O_APPEND)) == (O_WROK | O_APPEND))
{
opriv->pos = file->inuse;
}
