hackrf_source: adjust error message

Signed-off-by: Heikki Hannikainen <hessu@hes.iki.fi>
This commit is contained in:
Heikki Hannikainen 2015-05-30 14:30:03 +03:00 committed by Dimitri Stolnikov
parent e847176f3e
commit 254e1b1981
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ hackrf_source_c::hackrf_source_c (const std::string &args)
dev_index = boost::lexical_cast< unsigned int >( hackrf_serial );
} catch ( std::exception &ex ) {
throw std::runtime_error(
"Failed to use '" + hackrf_serial + "' as HackRF device index: " + ex.what());
"Failed to use '" + hackrf_serial + "' as HackRF device index number: " + ex.what());
}
hackrf_device_list_t *list = hackrf_device_list();