Revisión | 2da2e4eb1174f0546b71521eed7342f7b090c8a3 (tree) |
---|---|
Tiempo | 2014-02-18 17:52:19 |
Autor | Yoshinori Sato <ysato@sa76...> |
Commiter | Yoshinori Sato |
message update
@@ -487,7 +487,7 @@ int write_rom(struct port_t *port, const unsigned char *romimage, struct writein | ||
487 | 487 | return 0; |
488 | 488 | } |
489 | 489 | |
490 | - puts("erase flash..."); | |
490 | + puts("Erase flash..."); | |
491 | 491 | /* enter writemode */ |
492 | 492 | buf[0] = WRITEMODE; |
493 | 493 | send(port, buf, 1); |
@@ -88,7 +88,7 @@ static int connect_target(char *port) | ||
88 | 88 | unsigned char buf[BAUD_ADJUST_LEN]; |
89 | 89 | |
90 | 90 | /* wait connection establish */ |
91 | - printf("Connecting via %s", port); | |
91 | + printf("Connecting via %s.", port); | |
92 | 92 | fflush(stdout); |
93 | 93 | for(try1 = 0; try1 < TRY1COUNT; try1++) { |
94 | 94 | memset(buf, 0x00, BAUD_ADJUST_LEN); |
@@ -176,10 +176,12 @@ struct port_t *open_serial(char *ser_port) | ||
176 | 176 | { |
177 | 177 | struct termios serattr; |
178 | 178 | |
179 | - snprintf(lockname, sizeof(lockname), LOCKDIR "/LCK..%s", basename(ser_port)); | |
179 | + snprintf(lockname, sizeof(lockname), LOCKDIR "/LCK..%s", | |
180 | + basename(ser_port)); | |
180 | 181 | lock_fd = serial_lock(lockname); |
181 | 182 | if (lock_fd == -1) { |
182 | - fprintf(stderr, PROGNAME ": Serial port %s lock failed.\n", ser_port); | |
183 | + fprintf(stderr, PROGNAME ": Serial port %s lock failed.\n", | |
184 | + ser_port); | |
183 | 185 | return NULL; |
184 | 186 | } |
185 | 187 |