]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak fix on previous patch
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 26 Jan 2010 16:03:36 +0000 (17:03 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:49:23 +0000 (16:49 +0200)
bacula/src/dird/ua_purge.c

index dc101f15002f953d8e51763a65b6d45415f55e55..282853f05ce810d9863d51e2d4949a9fbd4183e8 100644 (file)
@@ -598,7 +598,7 @@ bool mark_media_purged(UAContext *ua, MEDIA_DBR *mr)
             bash_spaces(dev_name);
             bash_spaces(mr->VolumeName);
             sd->fsend("action_on_purge %s vol=%s action=%d",
-                      ua->jcr->wstore->dev_name(),
+                      dev_name,
                      mr->VolumeName,
                      mr->ActionOnPurge);
             unbash_spaces(mr->VolumeName);