include the file name we are searching when issuing an "unknown" field error during part detection

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1825 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Mike Frysinger 14 years ago
parent 30493a083e
commit 9a23b17f37

@ -1,3 +1,8 @@
2010-08-16 Mike Frysinger <vapier@gentoo.org>
* src/tap/detect.c (urj_tap_detect_parts): Include paths to data files when
issuing "unknown" messages.
2010-08-14 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Add autodetection of inpout32.

@ -329,9 +329,9 @@ urj_tap_detect_parts (urj_chain_t *chain, const char *db_path)
memcpy (key->data, &id->data[1], key->len);
if (!find_record (data_path, key, &idr))
{
urj_log (URJ_LOG_LEVEL_NORMAL, " %s (%s)\n",
urj_log (URJ_LOG_LEVEL_NORMAL, " %s (%s) (%s)\n",
_("Unknown manufacturer!"),
urj_tap_register_get_string (key));
urj_tap_register_get_string (key), data_path);
urj_tap_register_free (key);
continue;
}
@ -359,9 +359,9 @@ urj_tap_detect_parts (urj_chain_t *chain, const char *db_path)
memcpy (key->data, &id->data[12], key->len);
if (!find_record (data_path, key, &idr))
{
urj_log (URJ_LOG_LEVEL_NORMAL, " %s (%s)\n",
urj_log (URJ_LOG_LEVEL_NORMAL, " %s (%s) (%s)\n",
_("Unknown part!"),
urj_tap_register_get_string (key));
urj_tap_register_get_string (key), data_path);
urj_tap_register_free (key);
continue;
}
@ -389,9 +389,9 @@ urj_tap_detect_parts (urj_chain_t *chain, const char *db_path)
memcpy (key->data, &id->data[28], key->len);
if (!find_record (data_path, key, &idr))
{
urj_log (URJ_LOG_LEVEL_NORMAL, " %s (%s)\n",
urj_log (URJ_LOG_LEVEL_NORMAL, " %s (%s) (%s)\n",
_("Unknown stepping!"),
urj_tap_register_get_string (key));
urj_tap_register_get_string (key), data_path);
urj_tap_register_free (key);
continue;
}

Loading…
Cancel
Save