]> www.infradead.org Git - mtd-utils.git/commit
nandwrite: use common.h "errmsg" functions
authorBrian Norris <computersforpeace@gmail.com>
Wed, 31 Aug 2011 20:00:39 +0000 (13:00 -0700)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 13:11:41 +0000 (16:11 +0300)
commit0970bf408707d610e88abb069b123e267aeb42f8
tree780a3d3a33e2ce5f1c997da93b0f699c25283a55
parente3867cfa7cbfab9c2aa192ad6969afb438fc0136
nandwrite: use common.h "errmsg" functions

Convert several forms of exit(), perror(), etc. to use common.h helper
functions.

Also, move one of our parameter checks inside the process_options()
function for consistency.

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