From: Marco van Wieringen Date: Tue, 7 Jul 2009 15:35:44 +0000 (+0200) Subject: Fixed Jmsg4 to Mmsg4 X-Git-Tag: Release-5.0.0~333^2~40 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ac4aa8f33083987cbc68edf1481d54c6fc03064d;p=bacula%2Fbacula Fixed Jmsg4 to Mmsg4 --- diff --git a/bacula/src/filed/xattr.c b/bacula/src/filed/xattr.c index b878a4a0fe..4c52aa8106 100644 --- a/bacula/src/filed/xattr.c +++ b/bacula/src/filed/xattr.c @@ -1586,10 +1586,10 @@ static bsub_exit_code solaris_restore_xattrs(JCR *jcr, bool is_extensible) unlinkat(attrdirfd, target_attrname, 0); if (link(linked_target, target_attrname) < 0) { - Jmsg4(jcr, M_ERROR, 0, _("Unable to link xattr %s to %s on file \"%s\": ERR=%s\n"), - target_attrname, linked_target, jcr->last_fname, be.bstrerror()); + Mmsg4(jcr->errmsg, _("Unable to link xattr %s to %s on file \"%s\": ERR=%s\n"), + target_attrname, linked_target, jcr->last_fname, be.bstrerror()); Dmsg4(100, "Unable to link xattr %s to %s on file \"%s\": ERR=%s\n", - target_attrname, linked_target, jcr->last_fname, be.bstrerror()); + target_attrname, linked_target, jcr->last_fname, be.bstrerror()); goto cleanup; } @@ -1665,10 +1665,10 @@ static bsub_exit_code solaris_restore_xattrs(JCR *jcr, bool is_extensible) linked_target = bp; if (symlink(linked_target, target_attrname) < 0) { - Jmsg4(jcr, M_ERROR, 0, _("Unable to symlink xattr %s to %s on file \"%s\": ERR=%s\n"), - target_attrname, linked_target, jcr->last_fname, be.bstrerror()); + Mmsg4(jcr->errmsg, _("Unable to symlink xattr %s to %s on file \"%s\": ERR=%s\n"), + target_attrname, linked_target, jcr->last_fname, be.bstrerror()); Dmsg4(100, "Unable to symlink xattr %s to %s on file \"%s\": ERR=%s\n", - target_attrname, linked_target, jcr->last_fname, be.bstrerror()); + target_attrname, linked_target, jcr->last_fname, be.bstrerror()); goto cleanup; }