]> www.infradead.org Git - mtd-utils.git/commit
nandwrite: use common.h "errmsg_die"
authorBrian Norris <computersforpeace@gmail.com>
Wed, 1 Dec 2010 06:20:46 +0000 (22:20 -0800)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 2 Dec 2010 03:26:14 +0000 (05:26 +0200)
commitf0cc488fd772934bd41c6afdbee495f20d8516df
tree8c081b8a5ed072def82ae62c49c6fd47f6949f16
parent0d6504cadbe0ac4c898789cfc1ea1e303dbb5db0
nandwrite: use common.h "errmsg_die"

errmsg_die() should be nearly the equivalent of the error message used
here. This saves a few lines.

Also edited the error message to include the offending option and got
rid of the quotes.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
nandwrite.c