commit | eb4a4394d307d44c3bad9ee2963dd874c83c482b | [log] [tgz] |
---|---|---|
author | stroese <stroese> | Tue Dec 09 14:58:22 2003 +0000 |
committer | stroese <stroese> | Tue Dec 09 14:58:22 2003 +0000 |
tree | 9e17da4556bac025990ab1e52f6f980a2d96522b | |
parent | 86bb6fc9399bb623d4e4f22eb9d9419a27a34cf3 [diff] |
Fix output for "Unprotecting".
diff --git a/common/cmd_flash.c b/common/cmd_flash.c index a51b5e9..253f9ef 100644 --- a/common/cmd_flash.c +++ b/common/cmd_flash.c
@@ -463,7 +463,8 @@ } if (s_first[bank]>=0 && s_first[bank]<=s_last[bank]) { - debug ("Protecting sectors %d..%d in bank %ld\n", + debug ("%sProtecting sectors %d..%d in bank %ld\n", + p ? "" : "Un-", s_first[bank], s_last[bank], bank+1); protected += s_last[bank] - s_first[bank] + 1; for (i=s_first[bank]; i<=s_last[bank]; ++i) {