From 01694067bc6bf61fbf0d7ec555e0ba0424b154aa 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