Log an error message if opening a device fails
This commit is contained in:
parent
5a529ce30d
commit
b237213f75
@ -115,7 +115,9 @@ main (int argc, const char *argv[])
|
||||
}
|
||||
}
|
||||
nfc_close (pnd);
|
||||
}
|
||||
} else {
|
||||
printf("nfc_open failed for %s\n", connstrings[i]);
|
||||
}
|
||||
}
|
||||
res = EXIT_SUCCESS;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user