summaryrefslogtreecommitdiff
path: root/src/metastore.c
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@gmail.com>2016-02-01 22:44:26 +0100
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>2016-02-01 22:44:26 +0100
commit2acfa931d4a50c32693cd6ab93ff35f9120bf104 (patch)
tree7e865d33932d61d504140d7fa84cff6f4fc694b0 /src/metastore.c
parent8b30d7041aa567ce0213c6ba21834e84cbfc3cee (diff)
Improve code formatting and convert `unsigned int` to `unsigned`.
Diffstat (limited to 'src/metastore.c')
-rw-r--r--src/metastore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/metastore.c b/src/metastore.c
index e245387..4ac2654 100644
--- a/src/metastore.c
+++ b/src/metastore.c
@@ -246,8 +246,9 @@ compare_fix(struct metaentry *real, struct metaentry *stored, int cmp)
msg(MSG_NORMAL, "%s:\tadding xattr %s\n",
stored->path, stored->xattr_names[i]);
if (lsetxattr(stored->path, stored->xattr_names[i],
- stored->xattr_values[i],
- stored->xattr_lvalues[i], XATTR_CREATE))
+ stored->xattr_values[i],
+ stored->xattr_lvalues[i], XATTR_CREATE)
+ )
msg(MSG_DEBUG, "\tlsetxattr failed: %s\n",
strerror(errno));
}
@@ -551,4 +552,3 @@ main(int argc, char **argv)
exit(EXIT_SUCCESS);
}
-