Skip to content
Snippets Groups Projects
Commit e2146b6a authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Fix error handling in tools/env/fw_env.c

Patch by Ara Avanesyan, 01 Feb 2005
parent 9f221d07
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
Changes for U-Boot 1.1.4: 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 * Fix MGT5100 PSC baudrate calculation
Patch by Sebastian Schau, 27 Jan 2005 Patch by Sebastian Schau, 27 Jan 2005
......
...@@ -726,7 +726,7 @@ static int parse_config () ...@@ -726,7 +726,7 @@ static int parse_config ()
if (HaveRedundEnv && stat (DEVNAME (1), &st)) { if (HaveRedundEnv && stat (DEVNAME (1), &st)) {
fprintf (stderr, fprintf (stderr,
"Cannot access MTD device %s: %s\n", "Cannot access MTD device %s: %s\n",
DEVNAME (2), strerror (errno)); DEVNAME (1), strerror (errno));
return 1; return 1;
} }
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment