fix backwards compatible code for at_permission.

This commit is contained in:
Enno Rehling 2014-10-31 15:38:53 +01:00
parent cf110d7788
commit 838155179f
1 changed files with 3 additions and 3 deletions

View File

@ -45,9 +45,9 @@
static int read_permissions(attrib * a, void *owner, struct storage *store) static int read_permissions(attrib * a, void *owner, struct storage *store)
{ {
attrib *attr = NULL; assert(!a);
a_read(store, &attr, owner); a_read(store, &a, owner);
a_remove(&attr, a); a_remove(&a, a);
return AT_READ_OK; return AT_READ_OK;
} }