From: Ondrej Kozina Date: Thu, 31 Jan 2013 14:08:33 +0000 (+0100) Subject: - fix misleading debug msg X-Git-Tag: v0.1.3~18^2~40 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=250bdb9dbfcf9b4e0571eb09d2890296e5381c41;p=thirdparty%2Fsnapper.git - fix misleading debug msg --- diff --git a/snapper/XAttributes.cc b/snapper/XAttributes.cc index aeb1afd1..6dfbd99e 100644 --- a/snapper/XAttributes.cc +++ b/snapper/XAttributes.cc @@ -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));