[Libguestfs] [PATCH 2/3] NEW API: add a new api e2fsck

Richard W.M. Jones rjones at redhat.com
Fri Jan 13 15:05:54 UTC 2012


On Fri, Jan 13, 2012 at 03:04:14PM +0000, Richard W.M. Jones wrote:
> On Fri, Jan 13, 2012 at 10:55:57PM +0800, Wanlong Gao wrote:
> >  int
> > +do_e2fsck (const char *device,
> > +           int correct,
> > +           int forceall)
> 
> Actually, does this compile?  I think you want to optargs_bitmask.

Of course it does compile, but you need to check optargs_bitmask.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the Libguestfs mailing list