diff options
Diffstat (limited to 'libattr/attr.c')
-rw-r--r-- | libattr/attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libattr/attr.c b/libattr/attr.c index 8a8e375..f076b67 100644 --- a/libattr/attr.c +++ b/libattr/attr.c @@ -271,7 +271,7 @@ _attr_multif(attr_obj_t obj, int type, attr_multiop_t *multiops, int count, ops[i].flags = multiops[i].am_flags; } - if (attrctl(obj, type, ops, 1) < 0) { + if (attrctl(obj, type, ops, count) < 0) { error = -1; goto free_mem; } |