diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-07-31 17:34:39 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-08-01 08:36:39 +0200 |
commit | 239fa8cc9b7ea20061423ee52ba91edc131200e4 (patch) | |
tree | 195333be3045ba225b4a44d31c573fd00b13482b /Makefile | |
parent | e8bbacab05d8a8e7e86e31e9208457409bcbb1b0 (diff) | |
download | barebox-239fa8cc9b7ea20061423ee52ba91edc131200e4.tar.gz barebox-239fa8cc9b7ea20061423ee52ba91edc131200e4.tar.xz |
mem md: make md -s /dev/something work again
Since
|commit d22b85a203aea20a2b2618f5f457fe96c502868d
|Author: Sascha Hauer <s.hauer@pengutronix.de>
|Date: Wed Jul 4 23:41:13 2012 +0200
|
| mem md: bail out without arguments
|
| Without arguments the 'md' command defaults to show address 0 which
| likely results in a NULL pointer exception, so only three keystrokes
| are necessary to crash barebox. Show usage instead if 'md' is invoked
| without arguments, so that it at least requires an address to be given
| to crash barebox. This increases the stability of barebox by 66%. Hurray!
barebox does not crash any longer when a plain 'md' without additional arguments
is exectuted. However, doing a 'md -s /dev/nor0' was a standard usecase which now
does not work anymore.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions