]> www.infradead.org Git - mtd-utils.git/commit
nanddump/nandwrite: use "simple_" str functions
authorBrian Norris <computersforpeace@gmail.com>
Mon, 29 Nov 2010 08:01:55 +0000 (00:01 -0800)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 2 Dec 2010 03:25:05 +0000 (05:25 +0200)
commit340ccfc90f78e3fb762ce3da1ed5fbcd2e02a2bf
tree10d18b10658fd3a64b0606bd19dcfa9624749ed5
parentae1cb618abbc591b7a63a09bc927f37968f889af
nanddump/nandwrite: use "simple_" str functions

Per Mike Frysinger's suggestion, we check for strtoll() and strtoull()
errors by using the "common.h" helper functions simple_strtoll() and
simple_strtoull().

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