]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- fix misleading debug msg
authorOndrej Kozina <okozina@redhat.com>
Thu, 31 Jan 2013 14:08:33 +0000 (15:08 +0100)
committerOndrej Kozina <okozina@redhat.com>
Wed, 27 Feb 2013 16:24:57 +0000 (17:24 +0100)
snapper/XAttributes.cc

index aeb1afd1f45ba4d7bddcba5f3192197e81ff3951..6dfbd99e961b2668cd465e071d26176bb3f4db7a 100644 (file)
@@ -281,7 +281,7 @@ namespace snapper
                         }
                         else
                         {
-                            y2deb("new value for xattribute '" << mod_cit->first << "' is empty!");
+                            y2deb("new value for xattribute '" << mod_cit->first << "': " << mod_cit->second);
                             if (fsetxattr(dest_fd, mod_cit->first.c_str(), &mod_cit->second.front(), mod_cit->second.size(), XATTR_REPLACE))
                             {
                                 y2err("Couldn't replace xattribute '" << mod_cit->first << "' by new (non-empty) value: " << stringerror(errno));
@@ -304,6 +304,7 @@ namespace snapper
                         }
                         else
                         {
+                            y2deb("new value for xattribute '" << mod_cit->first << "': " << mod_cit->second);
                             if (fsetxattr(dest_fd, mod_cit->first.c_str(), &mod_cit->second.front(), mod_cit->second.size(), XATTR_CREATE))
                             {
                                 y2err("Couldn't create xattribute '" << mod_cit->first << "' with new (non-empty) value: " << stringerror(errno));