mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-12 02:23:47 +00:00
Fix a couple warnings.
This commit is contained in:
@@ -288,13 +288,13 @@ select:
|
||||
}
|
||||
// Read time-out
|
||||
if (res == 0) {
|
||||
log_put (LOG_CATEGORY, NFC_PRIORITY_TRACE, "Timeout!");
|
||||
log_put (LOG_CATEGORY, NFC_PRIORITY_TRACE, "%s", "Timeout!");
|
||||
return NFC_ETIMEOUT;
|
||||
}
|
||||
|
||||
if (FD_ISSET (iAbortFd, &rfds)) {
|
||||
// Abort requested
|
||||
log_put (LOG_CATEGORY, NFC_PRIORITY_TRACE, "Abort!");
|
||||
log_put (LOG_CATEGORY, NFC_PRIORITY_TRACE, "%s", "Abort!");
|
||||
close (iAbortFd);
|
||||
return NFC_EOPABORTED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user