projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
env: Rename common functions related to setenv()
[oweals/u-boot.git]
/
cmd
/
mtdparts.c
diff --git
a/cmd/mtdparts.c
b/cmd/mtdparts.c
index a2433503c40da738925f06921084462b6c5baf4b..d3fde77ef0cb91587fb462bbd40f23e47b5a2f76 100644
(file)
--- a/
cmd/mtdparts.c
+++ b/
cmd/mtdparts.c
@@
-239,7
+239,7
@@
static void index_partitions(void)
dev = list_entry(dentry, struct mtd_device, link);
if (dev == current_mtd_dev) {
mtddevnum += current_mtd_partnum;
-
setenv
_ulong("mtddevnum", mtddevnum);
+
env_set
_ulong("mtddevnum", mtddevnum);
break;
}
mtddevnum += dev->num_parts;