Log an error message if opening a device fails
This commit is contained in:
parent
5a529ce30d
commit
b237213f75
1 changed files with 3 additions and 1 deletions
|
@ -115,6 +115,8 @@ main (int argc, const char *argv[])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
nfc_close (pnd);
|
nfc_close (pnd);
|
||||||
|
} else {
|
||||||
|
printf("nfc_open failed for %s\n", connstrings[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
res = EXIT_SUCCESS;
|
res = EXIT_SUCCESS;
|
||||||
|
|
Loading…
Add table
Reference in a new issue