From f6e67932415f3bb030120b5a26f528c37d1712b1 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 19 Jul 2007 09:28:32 +0000 Subject: [PATCH] Correct compile error git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5199 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/dird/next_vol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/dird/next_vol.c b/bacula/src/dird/next_vol.c index 1a4f8b4a7e..1e8a4c4198 100644 --- a/bacula/src/dird/next_vol.c +++ b/bacula/src/dird/next_vol.c @@ -405,7 +405,7 @@ bool get_scratch_volume(JCR *jcr, bool InChanger, MEDIA_DBR *mr) * RecyclePoolId. */ bstrncpy(mr->VolStatus, smr.VolStatus, sizeof(smr.VolStatus)); - mr.RecyclePoolId = smr.RecyclePoolId; + mr->RecyclePoolId = smr.RecyclePoolId; if (!db_update_media_record(jcr, jcr->db, mr)) { Jmsg(jcr, M_WARNING, 0, _("Failed to move Scratch Volume. ERR=%s\n"), -- 2.39.5