Skip to content

Commit

Permalink
Use filename instead of fname
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Apr 13, 2017
1 parent b404ea7 commit b65c022
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cats/sql_get.c
Expand Up @@ -56,12 +56,12 @@
*/
bool B_DB::get_file_attributes_record(JCR *jcr, char *filename, JOB_DBR *jr, FILE_DBR *fdbr)
{
bool retval;
Dmsg1(100, "db_get_file_attributes_record fname=%s \n", fname);
bool retval;
Dmsg1(100, "db_get_file_attributes_record filename=%s \n", filename);

db_lock(this);

split_path_and_file(jcr, fname);
split_path_and_file(jcr, filename);
fdbr->PathId = get_path_record(jcr);
retval = get_file_record(jcr, jr, fdbr);

Expand Down

0 comments on commit b65c022

Please sign in to comment.