Update of /cvsroot/blob/blob/src/blob
In directory sc8-pr-cvs1:/tmp/cvs-serv20307
Modified Files:
flash-commands.c
Log Message:
Fix cut-and-paste errors.
Index: flash-commands.c
===================================================================
RCS file: /cvsroot/blob/blob/src/blob/flash-commands.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- flash-commands.c 28 Jan 2003 03:32:43 -0000 1.5
+++ flash-commands.c 29 Jan 2003 23:55:49 -0000 1.6
@@ -137,7 +137,7 @@
if(argc != 2)
return -ENOPARAMS;
- if (!flash_driver->unlock_block) {
+ if (!flash_driver->lock_block) {
printerror(EINVAL, argv[1]);
return 0;
}
@@ -208,7 +208,7 @@
if(argc != 2)
return -ENOPARAMS;
- if (!flash_driver->unlock_block) {
+ if (!flash_driver->erase) {
printerror(EINVAL, argv[1]);
return 0;
}
|