error message correction

This commit is contained in:
Michael Ossmann
2013-02-22 14:19:56 -07:00
parent 0efbc6618e
commit eb7e80c8bf

View File

@ -50,7 +50,7 @@ int main(int argc, char** argv)
result = hackrf_board_id_read(device, &board_id); result = hackrf_board_id_read(device, &board_id);
if (result != HACKRF_SUCCESS) { if (result != HACKRF_SUCCESS) {
fprintf(stderr, "hackrf_cpld_write() failed: %s (%d)\n", fprintf(stderr, "hackrf_board_id_read() failed: %s (%d)\n",
hackrf_error_name(result), result); hackrf_error_name(result), result);
return EXIT_FAILURE; return EXIT_FAILURE;
} }