]> www.infradead.org Git - mtd-utils.git/commit
flash_{un,}lock: improve strtol() error handling
authorBrian Norris <computersforpeace@gmail.com>
Mon, 31 Aug 2015 21:34:02 +0000 (14:34 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 11 Nov 2015 22:05:36 +0000 (14:05 -0800)
commitc1bda1eaf2c80388fdd959a41d9da18d437d019e
treeceeaaf8d95f8dfced79439eb532f90c77c3cec75
parent4e2a2a22676eb8d3622c357ac6867d815500438f
flash_{un,}lock: improve strtol() error handling

Use the simple_* helpers to improve error checking.

Also fixup brace style at the same time.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
flash_unlock.c