projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Replace 'while(' with 'while ('.
[fw/openocd]
/
src
/
xsvf
/
xsvf.c
diff --git
a/src/xsvf/xsvf.c
b/src/xsvf/xsvf.c
index 6356843989307739932b45fd4fb571a80c17e457..1c21e9290cb40e3a3bc847b89fe93d1aa00b9d74 100644
(file)
--- a/
src/xsvf/xsvf.c
+++ b/
src/xsvf/xsvf.c
@@
-261,7
+261,7
@@
static int handle_xsvf_command(struct command_context_s *cmd_ctx, char *cmd, cha
LOG_USER("xsvf processing file: \"%s\"", filename);
- while( read(xsvf_fd, &opcode, 1) > 0 )
+ while
( read(xsvf_fd, &opcode, 1) > 0 )
{
/* record the position of the just read opcode within the file */
file_offset = lseek(xsvf_fd, 0, SEEK_CUR) - 1;