Improve error message
This commit is contained in:
parent
1e359d2324
commit
16f7c2448c
|
@ -174,7 +174,7 @@ main(int argc, char **argv)
|
||||||
#endif
|
#endif
|
||||||
if(fd < 0) {
|
if(fd < 0) {
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
perror(device);
|
perror("open");
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
fprintf(stderr, " [OK]\n");
|
fprintf(stderr, " [OK]\n");
|
||||||
|
|
Loading…
Reference in a new issue