Improve error message
This commit is contained in:
parent
1e359d2324
commit
16f7c2448c
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue