diff --git a/examples/doc/quick_start_example1.c b/examples/doc/quick_start_example1.c index 9ae1f20..9810e37 100644 --- a/examples/doc/quick_start_example1.c +++ b/examples/doc/quick_start_example1.c @@ -4,6 +4,7 @@ #include #include +#include int main(int argc, const char* argv[]) { @@ -18,7 +19,7 @@ int main(int argc, const char* argv[]) pnd = nfc_connect(NULL); if (pnd == NULL) { - printf("Unable to connect to NFC device."); + ERR("%s", "Unable to connect to NFC device."); return EXIT_FAILURE; }