git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f221d0
)
Fix error handling in tools/env/fw_env.c
author
Wolfgang Denk
<wd@pollux.(none)>
Sat, 24 Sep 2005 23:20:38 +0000
(
01:20
+0200)
committer
Wolfgang Denk
<wd@pollux.(none)>
Sat, 24 Sep 2005 23:20:38 +0000
(
01:20
+0200)
Patch by Ara Avanesyan, 01 Feb 2005
CHANGELOG
patch
|
blob
|
history
tools/env/fw_env.c
patch
|
blob
|
history
diff --git
a/CHANGELOG
b/CHANGELOG
index
abf5d18
..
6c5c15c
100644
(file)
--- a/
CHANGELOG
+++ b/
CHANGELOG
@@
-2,6
+2,9
@@
Changes for U-Boot 1.1.4:
======================================================================
+* Fix error handling in tools/env/fw_env.c
+ Patch by Ara Avanesyan, 01 Feb 2005
+
* Fix MGT5100 PSC baudrate calculation
Patch by Sebastian Schau, 27 Jan 2005
diff --git
a/tools/env/fw_env.c
b/tools/env/fw_env.c
index
09b8b5d
..
74c0498
100644
(file)
--- a/
tools/env/fw_env.c
+++ b/
tools/env/fw_env.c
@@
-726,7
+726,7
@@
static int parse_config ()
if (HaveRedundEnv && stat (DEVNAME (1), &st)) {
fprintf (stderr,
"Cannot access MTD device %s: %s\n",
- DEVNAME (
2
), strerror (errno));
+ DEVNAME (
1
), strerror (errno));
return 1;
}
return 0;