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