samples/full.c: Bring it up to date with API changes
commitfa198ffb04d179ff6ba1f35a17c1338f9ab23010
authorAlberto Bertogli <albertito@blitiri.com.ar>
Wed, 18 Mar 2009 04:39:17 +0000 (18 01:39 -0300)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Wed, 18 Mar 2009 04:39:17 +0000 (18 01:39 -0300)
tree589e9f7aedd5ec3ba933869102ae1728efe4bc1f
parent29a7cd7f4f0520ce84deb1b4a8336556e5418a59
samples/full.c: Bring it up to date with API changes

This patch fixes two small API-related issues in samples/full.c: the
introduction of the jdir parameter (in this case, NULL), and the fact that
we assume read-only mode unless O_RDWR is specified.

Thanks to Chris Riddoch for the bug report.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
samples/full.c