[PATCH v2 3/7] nanddump: deprecation messages for old BB options

Mike Frysinger vapier.adi at gmail.com
Tue Jun 21 15:38:18 EDT 2011


On Tue, Jun 21, 2011 at 11:46, Brian Norris wrote:
> +                                       fprintf(stderr, "Warning: --omitbad is being deprecated in favor of --bb=omitbad.\n"
> +                                                       "         --omitbad will not be available in future releases.\n"
> +                                                       "         Please update your usage accordingly.\n");
> +                                       fprintf(stderr, "Warning: --noskipbad is being deprecated in favor of --bb=dumpbad.\n"
> +                                                       "         --noskipbad will not be available in future releases.\n"
> +                                                       "         Please update your usage accordingly.\n");

use warning() from common.h
-mike


More information about the linux-mtd mailing list