projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64419e4
)
mflash: use common cmd_usage function
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 29 Jul 2010 17:42:29 +0000
(13:42 -0400)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 8 Aug 2010 22:32:06 +0000
(
00:32
+0200)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_mgdisk.c
patch
|
blob
|
history
diff --git
a/common/cmd_mgdisk.c
b/common/cmd_mgdisk.c
index c2d5217703b1b73ec6cb07eff5d47925abda3fc8..51c994b6f91862f87725fddc6bc8df03ee79580c 100644
(file)
--- a/
common/cmd_mgdisk.c
+++ b/
common/cmd_mgdisk.c
@@
-54,8
+54,7
@@
int do_mg_disk_cmd (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
return 1;
break;
default:
- printf("Usage:\n%s\n", cmdtp->usage);
- return 1;
+ return cmd_usage(cmdtp);
}
return 0;
}