Skip to content

Commit

Permalink
Fix problem with call to db_get_job_volume_names()
Browse files Browse the repository at this point in the history
15.2 still uses a POOLMEM ** instead of POOLMEM *& reference to the
volumenames.
  • Loading branch information
Marco van Wieringen committed Oct 2, 2015
1 parent 3baf9ce commit adb1d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dird/ua_output.c
Expand Up @@ -623,7 +623,7 @@ static bool do_list_cmd(UAContext *ua, const char *cmd, e_list_type llist)
POOLMEM *VolumeName;

VolumeName = get_pool_memory(PM_FNAME);
count = db_get_job_volume_names(ua->jcr, ua->db, jobid, VolumeName);
count = db_get_job_volume_names(ua->jcr, ua->db, jobid, &VolumeName);
ua->send_msg(_("Jobid %d used %d Volume(s): %s\n"), jobid, count, VolumeName);
free_pool_memory(VolumeName);
} else if (jobid == 0) {
Expand Down

0 comments on commit adb1d53

Please sign in to comment.