X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fxsvf%2Fxsvf.c;h=1c21e9290cb40e3a3bc847b89fe93d1aa00b9d74;hp=6356843989307739932b45fd4fb571a80c17e457;hb=50c086ffb94f199c088f4cc52b7887b668dddf00;hpb=e43979e7020ea9d05a3c0a2af444f292eacb6c53 diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c index 6356843989..1c21e9290c 100644 --- 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;