From 2acfa931d4a50c32693cd6ab93ff35f9120bf104 Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Mon, 1 Feb 2016 22:44:26 +0100 Subject: Improve code formatting and convert `unsigned int` to `unsigned`. --- src/metastore.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/metastore.c') 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); } - -- cgit v1.2.1