projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ee951b
)
UBI: Fix size parsing in "ubi create"
author
Stefan Roese
<sr@denx.de>
Tue, 2 Dec 2008 09:53:47 +0000
(10:53 +0100)
committer
Stefan Roese
<sr@denx.de>
Tue, 9 Dec 2008 09:07:41 +0000
(10:07 +0100)
Signed-off-by: Stefan Roese <sr@denx.de>
common/cmd_ubi.c
patch
|
blob
|
history
diff --git
a/common/cmd_ubi.c
b/common/cmd_ubi.c
index 495d71ec0a11b596743cd93d4358c4778b0942e3..fd33a6710589c47bf65af33ced1ba749b234f2d4 100644
(file)
--- a/
common/cmd_ubi.c
+++ b/
common/cmd_ubi.c
@@
-546,7
+546,7
@@
static int do_ubi(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
}
/* E.g., create volume size */
if (argc == 4) {
-
addr
= simple_strtoul(argv[3], NULL, 16);
+
size
= simple_strtoul(argv[3], NULL, 16);
argc--;
}
/* Use maximum available size */