]> git.sur5r.net Git - bacula/bacula/commitdiff
Removed last direct message output by replacing Qmsg by Mmsg
authorMarco van Wieringen <mvw@planets.elm.net>
Sat, 10 Oct 2009 09:13:43 +0000 (11:13 +0200)
committerMarco van Wieringen <mvw@planets.elm.net>
Sat, 10 Oct 2009 09:13:43 +0000 (11:13 +0200)
bacula/src/filed/xattr.c

index 5ab5cfaf7835a046cdad635f2ce7425581c625f9..f726bea8f8007f9e0c57369d2e8d9a461aba4d6d 100644 (file)
@@ -2251,9 +2251,7 @@ static bxattr_exit_code solaris_parse_xattr_streams(JCR *jcr, int stream)
 #if defined(HAVE_SYS_NVPAIR_H) && defined(_PC_SATTR_ENABLED)
    case STREAM_XATTR_SOLARIS_SYS:
       if (pathconf(jcr->last_fname, _PC_SATTR_ENABLED) <= 0) {
-         Qmsg1(jcr, M_WARNING, 0,
-               _("Failed to restore extensible attributes on file \"%s\"\n"),
-               jcr->last_fname);
+         Mmsg1(jcr->errmsg, _("Failed to restore extensible attributes on file \"%s\"\n"), jcr->last_fname);
          Dmsg1(100, "Unable to restore extensible attributes on file \"%s\", filesystem doesn't support this\n",
             jcr->last_fname);
          return bxattr_exit_error;
@@ -2264,9 +2262,7 @@ static bxattr_exit_code solaris_parse_xattr_streams(JCR *jcr, int stream)
 #endif
    case STREAM_XATTR_SOLARIS:
       if (pathconf(jcr->last_fname, _PC_XATTR_ENABLED) <= 0) {
-         Qmsg1(jcr, M_WARNING, 0,
-               _("Failed to restore extended attributes on file \"%s\"\n"),
-               jcr->last_fname);
+         Mmsg1(jcr->errmsg, _("Failed to restore extended attributes on file \"%s\"\n"), jcr->last_fname);
          Dmsg1(100, "Unable to restore extended attributes on file \"%s\", filesystem doesn't support this\n",
             jcr->last_fname);
          return bxattr_exit_error;