Fix log message when no reader is found
This commit is contained in:
committed by
Frank Morgner
parent
1eaf5a1c60
commit
1b75eaa5c6
@@ -46,7 +46,7 @@ int initialize(int reader_id, int verbose,
|
|||||||
reader_count = sc_ctx_get_reader_count(*ctx);
|
reader_count = sc_ctx_get_reader_count(*ctx);
|
||||||
|
|
||||||
if (reader_count == 0) {
|
if (reader_count == 0) {
|
||||||
sc_debug(*ctx, SC_LOG_DEBUG_NORMAL, "No reader not found.\n");
|
sc_debug(*ctx, SC_LOG_DEBUG_NORMAL, "No reader found.\n");
|
||||||
return SC_ERROR_NO_READERS_FOUND;
|
return SC_ERROR_NO_READERS_FOUND;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user