Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
cmorty committed May 11, 2015
1 parent 1e359d2 commit 16f7c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/sky/serialdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ main(int argc, char **argv)
#endif
if(fd < 0) {
fprintf(stderr, "\n");
perror(device);
perror("open");
exit(-1);
}
fprintf(stderr, " [OK]\n");
Expand Down

0 comments on commit 16f7c24

Please sign in to comment.