Fix log message when no reader is found

This commit is contained in:
Ludovic Rousseau
2021-04-17 18:59:52 +02:00
committed by Frank Morgner
parent 1eaf5a1c60
commit 1b75eaa5c6

View File

@@ -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;
} }