mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-12 09:36:18 +00:00
Log an error message if opening a device fails
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user