Log an error message if opening a device fails

This commit is contained in:
Ludovic Rousseau 2012-05-22 09:48:43 +00:00
parent 5a529ce30d
commit b237213f75

View file

@ -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;