On Wed, Jun 20, 2012 at 03:26:05PM +1000, Tony Breeds wrote: > diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c > index cf80bd0..0c27b1e 100644 > --- a/debugfs/debugfs.c > +++ b/debugfs/debugfs.c > @@ -2194,6 +2194,7 @@ void do_punch(int argc, char *argv[]) > > void do_dump_mmp(int argc EXT2FS_ATTR((unused)), char *argv[]) > { > +#if CONFIG_MMP Eeek this should be #ifdef oops. We could also do: void do_dump_mmp(int argc EXT2FS_ATTR((unused)), char *argv[]) { #ifndef CONFIG_MMP fprintf(.....); return; #endif .... } to avoid the #else and make the approach more consistent with the rest of the patch. Yours Tony
Attachment:
pgpkTAnUQZrCY.pgp
Description: PGP signature